Skip Navigation

[Resolved] email notification from form

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
- 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 4 replies, has 3 voices.

Last updated by Mateus Getulio 1 month ago.

Assisted by: Minesh.

Author
Posts
#2774353
Screenshot 2024-10-09 125936.jpg

I have a user form with payment. That is now all working correctly. However, the email notification isn't.

https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/

Following the above tutorial, I clicked the Fields and Views button to add the fields, then added user_id="%%USER_USERID%%" to each field. Doing this resulted in the form in that attached image.

The fields for firstname, lastname, username and email are blank on the email notification.

Looking again at the tutorial, even though these fields were input when selected, I tried the format
[types usermeta='firstname' user_id="%%USER_USERID%%" user_is_author='true'][/types]
for each of the fields, but that didn't work either.

#2774466

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

What if you try to click on the "Placeholders" button and try to add those placeholders where applicable and check if that works.

For example:

User ID: %%USER_USERID%%

eMail: %%USER_EMAIL%%

And to display the user field, for instance "user_firstname":

First Name: [wpv-user field="user_firstname" id="%%USER_USERID%%"] 
Last Name: [wpv-user field="user_lastname" id="%%USER_USERID%%"]
#2774515

The email worked, but I need the user NAME not ID.

It did not work for firstname and lastname as the lines you gave were no different to those I had.

#2777346

When can I expect a response to this query?

#2777380

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Minesh is not available today, so I will take over the ticket temporarily.

What if you try to use the following place holders for the name, do you get different results?

%%USER_FIRST_NAME%% 
%%USER_LAST_NAME%%

Thank you, please let us know.
Mateus