Sauter la navigation

[Résolu] Including generic email field content in Forms (Cred) email notification

This support ticket is created Il y a 5 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 0 réponses, a 1 voix.

Dernière mise à jour par Gavin Il y a 5 années et 6 mois.

Assisté par: Nigel.

Auteur
Publications
#1294659

Hello

I am usually pretty good at sorting out stuff, searching the forums, and reading the documentation! For some reason this simple thing has stumped me (I must be getting old)!

I have a simple Post Form for the general public to submit posts to our wee online magazine for Ascension Island. I want the person submitting to input their email address. I don't want to store this email address with the post (i.e. I don't want or need a custom post field). All I want to do is include that email address in the notification emailed to me so I have a record of who submitted the post.

I have included the following in the Form:

<div class="form-group">
<label>Your Email</label>
[cred_generic_field type='email' field='author-email']
{
"required":1,
"validate_format":1,
"default":""
}
[/cred_generic_field]
</div>

And you can see it here:

lien caché

But how do I then add that field to the email notification?

Using %%FORM_DATA%% only displays the regular Post fields.

Many Thanks in advance!

Gav