With the function fields you can enter setting specifications directly in the HTML source code of the web form. All these specifications can also be made in the form settings. But function fields allow you to set the settings dynamically.
To use a function field, insert a hidden form field in the HTML code of your web form. With the function name in the
name attribute and the desired setting value in the
value attribute. In the following you can see which settings are possible with it:
Reply address to email notifications
The _replyto function field is used to specify what the email address is when replying to the notification mail. HTML example of an input field for setting the reply address:
<input type="email" name="_replyto" placeholder="Your email address">
If you name the field
_replyto, the input will only be taken over for the reply setting. However, if you name the field
Subject of the email notifications
To customize the subject line of the notification emails, add a function field to your web form. To do this, create a hidden form field named
_subject in the HTML source code of the form and enter the desired subject at the value attribute.
<input type="hidden" name="_subject" value="New contact message!">
By default, the website visitor will be redirected to our default success page after submitting the form, unless you have entered your own success page in the form settings. But you can also specify any address as a function field in your form.
To do this, add a hidden form field named
_next in the HTML source code of the form and enter the complete web address (URL) of your individual success page in the value attribute.
<input type="hidden" name="_next" value="http://yoursite.com/thank-you.html">
Always specify the web address including http:// or https://.
This function field can be used to specify in which language messages and texts are to be displayed for the user.
To do this, create a hidden form field with the name
_lang in the HTML source code of the form and specify the desired language code in the value attribute.
<input type="hidden" name="_lang" value="en">
Currently the following language codes are available: