Using merge-tags to personalize your outgoing emails

When you create a form using Formbackend, you have the option to send the person that submits your form an email. For that to work, you need to have an email field in your form. Let’s take the following form markup as an example (ABCDEF should be your unique identifier for your form):

<form action="https://www.formbackend.com/f/ABCDEF" method="post">
<label>Name</label>
<input type="text" name="name">
<label>Email</label>
<input type="email" name="email">
<input type="submit">Submit form</input>
</form>

Configuring your FormBackend

Go to the “notifications” tab for your form, and scroll down to the “Notify the person who submits the form” section. Make sure to click on the radio-button “Send them an email when they submit the form” - you should now see something like this:

The “From email” is the email from where the emails should be sent, this can be your companys email or your own personal email depending on your use case.

“From name” is the name the email should show up from when they receive it.

“Subject” is the emails subject.

“Body” is the content of the email. You could write a simple “Thank you! We’ll get back to you shortly” message, or you can use merge tags to personalize it further.

Merge tags are written on the form *|NAME|* which will be replaced by the value the submitter put in the name field - or in the case of the above example you could also do *|EMAIL|*.

That means you can personalize your email body and write it like so:

Hi *|NAME|*,
Thank you so much for submitting our form. We'll get back to you shortly.

Which when the user receives it, will have *|NAME|* switched out with the value of the name form-field so it looks like this, if Amy is the name entered in the form-field

Hi Amy,
Thank you so much for submitting our form. We'll get back to you shortly.

This is just one of the examples to how you can use merge-tags in your outgoing emails.