Skip Navigation

[Resolved] types shortcodes doesn't work in Cred notification email subject

This support ticket is created 6 years, 9 months 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.

Our next available supporter will start replying to tickets in about 1.77 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#615183

I want to customise Cred notification email subject with data from form and from post.

If I just use simple data from form and submitted post (as postname) it works ok.
But it doesn't work for parent data:
[types field='appointmentslot-date' id='$appointmentslot' style='text' format='l, j F Y H:i'][/types], [types field='ir-last-name' id="$initialreview"][/types] [types field='ir-first-name' id="$initialreview"][/types]
- this return empty string for the Subject but works ok in body of the notification email.

#615381

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I would like to know here where you have added your CRED form? is CRED form added on child post?

#617222

Hm... it is little bit complicated.
This is a CRED form of child post added just by special page. But parent posts ID specified in CRED fields.
So, I want to get some data from parent post to use in child post CRED form notification email.

#617865

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - what if you try to add the parent ID:

[types field='appointmentslot-date' id='525' style='text' format='l, j F Y H:i'][/types], [types field='ir-last-name' id="525"][/types] [types field='ir-first-name' id="525"][/types]