email filled-in in the form to receive the form

HI , I guess I'm missing very basic thing here...
I have my form, with an email field to be filled-in by user
this field belongs to group "Inscriptions" and field name is "e_mail"

in the plugin , I'm using the eval field with the following :

$email = $this->groups['Inscriptions']->elements['e_mail']->element;
return $email;

but of course, no email received. what am I missing ?
Thx
 
You don't need eval, you can use the placeholder {your-table___e_mail_raw} directly in the To field.

($email = $this->groups['Inscriptions']->elements['e_mail']->element; is the syntax in a custom form template)
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top