Skip Navigation

[Resolved] Send notification to email input in the form

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

Problem:
The issue here is that the user wanted to send an email using a generic field that was added to CRED but the field was not showing up in the notification options.

Solution:
This is being caused by the the information not being saved to the database. To do this you will need to add "persist":1 to your generic shortcode.

So as an example it should be like this .

[cred_generic_field field='test' type='email' class='' urlparam='']
{
"required":0,
"validate_format":0,
"persist":1,
"default":""
}
[/cred_generic_field]
This support ticket is created 6 years, 1 month 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 mirkoG 6 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#622156

Hi,

I am trying to send a notification to an email address input by a visitor in an "email" field.
I have added to my form 3 generic fields (First Name, Last Name, Email) using the field types "Single line" (for First Name and Last Name) and "Email" (for the email). While creating a new notification, if I select the option to send the notification to an email included in the form, I don't get any selectable option in neither of the 3 fields (Email, First Name, Last Name). How is that supposed to work?

Thanks
Mirko

#622257

Shane
Supporter

Languages: English (English )

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

Hi Mirko,

Thank you for contacting our support forum.

Could you try adding persist:1 to your generic shortcode.

So as an example it should be like this .

[cred_generic_field field='test' type='email' class='' urlparam='']
{
"required":0,
"validate_format":0,
"persist":1,
"default":""
}
[/cred_generic_field]

Thanks,
Shane

#622277

Thanks, Shane, that worked!

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