Skip Navigation

[Resolved] CRED notification fields showing empty values

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue being described by this ticket is that the Types custom field shortcodes are not rendering any information in the CRED notification emails.

Solution:

A workaround to this is by using the [wpv-post-field] shortcode. This shortcode works when you manually provide the field name as a parameter.

Example

[wpv-post-field name='wpcf-anmeld-name']

Relevant Documentation:

For more information on how this shortcode is used you can have a look at our documentation below.
https://toolset.com/documentation/views-shortcodes/#wpv-post-field

This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by dianaM-4 8 years ago.

Assisted by: Shane.

Author
Posts
#381942

I am trying to set up the notification email. The body-codes are working - but types fields are empty values.

These are working and showing correct values:

%%POST_TITLE%%
%%POST_ID%%
%%FORM_DATA%%
[wpv-post-title]

I tried these for my types fields:

[types field="anmeld-name"][/types]
[types field="anmeld-name" id="%%POST_ID%%"][/types]
[types field="wpcf-anmeld-name" id="%%POST_ID%%"][/types]
[wpcf-anmeld-name]
[wpcf-anmeld-name id="%%POST_ID%%"]

None of them are working for me. My CRED-form is a "create new post" form and is displaying in a bootstrap modal window in frontend. Sending the form works correctly. After submitting it creates a children post with all given field-values. So the fields are correctly filled in, but don't show up in my notification-email. What am I doing wrong?

#382126

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Diana,

Thank you for contacting our support forum.

It seems the types shortcodes don't work here.

What you can try is doing this.

 [wpv-post-field name='wpcf-anmeld-name']

Using the [wpv-post-field] shortcode should allow you to get the same result.

Please let me know if this helps.
Thanks,
Shane

#382192

Yes, that worked out. Finally.
Thanks a lot, Shane!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.