Custom Templates

Use your own HTML templates for submission emails instead of our default.

To use custom templates, follow these steps:
  1. Log in to your Basin account
  2. Select your form
  3. Navigate to the Emails page
  4. Scroll down to the 'Custom Template' section and click the radio button for "Use your own HTML template"
  5. Type in, or paste in your HTML template in the box
  6. Click "Save" at the bottom of the page
Custom templates do not support special characters or spaces in form field names. This includes hyphens, dashes, and quotation marks. If you have form fields that contain a hyphen, we recommend renaming them to use underscore instead.
Simple HTML example

You can use merge tags to fill in data from the submitted form by typing in the name of the field inside curly brackets

<b>Name: </b> {{name}}<br>
<b>Phone number: </b> {{phone_number}}<br>
Using #each

You can use {{#each form_params}} to get all the values from the form. Use {{}} for the name of the field, and {{this.value}} for the values submitted

Here is all the data submitted: <br>
{{#each form_params}}
Please note:

We can't possibly catch all the errors that you may have in your template. If the template throws an error, you will receive the submission email with our default template and a note that your template didn't work. If you need help with your template, feel free to contact us.