How to Format the Email Sent by a Form

When you create a form for your website, you can have the data collected by that form sent to you via email. By default, the submitted data of a form is sent in plain text format. You have little control of this format because the end user’s email application determines how it will be displayed to the recipient. Also, this data is meant to be raw text and seen only by the webmaster – not an outward facing document.

However, 90 Second Website Builder Version 10 and above gives you some ability to format the message, if you use these more advanced techniques.

Step 1
Double click on your FORM AREA object and make sure the built-in form processor is enabled. You must be using this form processing option to utilize formatting.

Step 2
Click on Message > Edit in the Form’s properties.

Step 3
Select Rich Text as the email format.

Step 4
Click Edit to format the text.
Note: When you select Rich Text (or HTML), the submitted data will NOT be included by default – because there is no way to format it. So,  you need to use variables to include the form data.

For example:
Name: $name
Email: $email
Website: $website
…Where name, email and website are the names of the form fields prefixed by a dollar sign. So if the field name is name then the variable name will be $name.  But Name: can be what you want – as it’s just a label.  While the variable ($name) must be the actual name of the form object with the dollar sign and is case sensitive.

ALSO…When you select Rich Text or HTML, the mail engine (see Advanced > Mail Engine) will automatically be set to Use PHP mailer, because PHP’s standard mail() function does not support formatted messages.

Leave a Comment