Skip Navigation

[Gelöst] Send notification to email input in the form

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren, 9 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von mirkoG vor 6 Jahren, 9 Monaten.

Assistiert von: Shane.

Author
Artikel
#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

Sprachen: Englisch (English )

Zeitzone: 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!