Skip Navigation

[Resolved] Trying to email the inputs of a New user Form with Custom User fields.

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

Problem:
User fields are not sending data in email notification using CRED form. I am using this shortcode:

Phone: [types usermeta='phone' user_id="%%USER_USERID%%" user_is_author='true'][/types]

Solution:
There is a syntax or formatting error in your shortcodes, the correct format will be like this:

[types usermeta='phone' user_is_author='true' user_id="%%USER_USERID%%"][/types]
This support ticket is created 7 years, 3 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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by mikeS-10 7 years, 2 months ago.

Assisted by: Noman.

Author
Posts
#565163
Screen Shot 2017-08-30 at 7.56.15 AM.png
Screen Shot 2017-08-30 at 7.54.20 AM.png

I am trying to email the fields of a new user form so that I can view the fields within an email. I followed the directions that said add user_id="%%USER_USERID%%" to validate the field so my shortcode looks like this....

<p>Phone: [types usermeta='phone' user_id=”%%USER_USERID%%" user_is_author='true'][/types]</p>

However, the fields don't come through in the email.

#565185

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

wrong commas.png

Hi Mike,

Thank you for contacting Toolset support. There is a syntax or formatting error in your shortcodes, see attached screenshot, the commas are not correct ones.

The correct format will be like this:

[types usermeta='phone' user_is_author='true' user_id="%%USER_USERID%%"][/types]

Related ticket: https://toolset.com/forums/topic/user-information-not-displaying-in-email/#post-562015

I hope this will resolve the issue. Thank you

#566203

Yes, that would do it. Works perfectly. Thank you