Skip Navigation

[Resolved] Custom user fields not showing in the email notification

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

Problem:

Send a notification email to the site owner and include the details of the submitted custom fields in the user registration form.

Solution:

Please check these:

1) You are following our document to setup the email notifications:
https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

2) In section "Inserting the user login information fields" of above document:

https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/#inserting-the-user-login-information-fields

There is a special notice:

When we use the Insert Subject Codes or the Insert Body Codes buttons, user fields will be inserted in the form like this: %%FIELD_NAME%%. So, if we insert a user ID field, it will be inserted like this: %%USER_USERID%%.

Relevant Documentation:

https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

This support ticket is created 6 years, 2 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1153173

I am trying to: send a notification email to the site owner and include the details of the submitted custom fields in the user registration form

Link to a page where the issue can be seen:

I expected to see: using the process outlined in the docs, I expected the values to be in the email but they're not

Instead, I got: blank space

#1153562

Hello,

Please check these:
1) You are following our document to setup the email notifications:
https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

2) In section "Inserting the user login information fields" of above document:
https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/#inserting-the-user-login-information-fields
There is a special notice:

When we use the Insert Subject Codes or the Insert Body Codes buttons, user fields will be inserted in the form like this: %%FIELD_NAME%%. So, if we insert a user ID field, it will be inserted like this: %%USER_USERID%%.

For example:

[types usermeta="date-of-birth" style="text" format="F j, Y" user_id="%%USER_USERID%%" user_is_author="true"][/types]
#1154007

My issue is resolved now. Thank you! Top man.

#1154146

You are welcome