Appearance
Custom variables
Every field of your form is available as a variable inside the {email_template} of the {exp:reinos_email_form:form} tag.
Those variables are simply defined by declaring form fields. See the Examples page for a real use case.
In cases of an array defined like
<input name="test[]" type="checkbox" value="1"/>
<input name="test[]" type="checkbox" value="2"/>
<input name="test[]" type="checkbox" value="3"/>This data is available inside your template as (notice the _pair at the end of your variable name)
{test_pair}
{value}
{/test_pair}The plain {test} variable holds all values, e.g. [1, 2, 3].
The fields XID, csrf_token, site_id, data, unique_id, captcha, g-recaptcha-response, recaptcha_response_v3, cf-turnstile-response and the honeypot field are never available as variables. In a mailtype="html" email the values are HTML-escaped.
The submitted values are inserted as text: from v6.0.0 { and } in a value are never parsed as ExpressionEngine tags or variables, and a quote in a value cannot end a tag parameter, so {exp:channel:entries entry_id="{entry_id}" dynamic="no"} only gets the submitted value as entry_id.
