UNIMAILER DOCUMENTATION:
Necessary Form Fields: recipient


Description: This form field allows you to specify to whom you wish for your form results to be mailed.
Most likely you will want to configure this option as a hidden form field with a value equal to that of your e-mail address.

Syntax: <input type=hidden name="recipient" value="WARNING: encrypted email here!!!!!!">

NB: For reasons of safety, email addresses are crypted, this is why you must use our generator of form online to generate the code which you will need to put in your form.

For Multiple Recipients seperate the emails with commas in the form maker (",").

click here to go to the form maker

Optional Form Field: subject


Description: The subject field will allow you to specify the subject that you wish to appear in the e-mail that is sent to you after this form has been filled out. If you do not have this option turned on, then the script will default to a message subject: "Form Submission"

Syntax: <input type=hidden name="subject" value="subject">

Optional Form Field: email


Description: This form field will allow the user to specify their return e-mail address. If you want to be able to return e-mail to your user, I strongly suggest that you include this form field and allow them to fill it in. This will be put into the From: field of the message you receive. The email address submitted will be checked for validity.

Syntax: <input type=text name="email">

Optional Form Field: redirect


Description: If you wish to redirect the user to a different URL, rather than having them see the default response to the fill-out form, you can use this hidden variable to send them to a pre-made HTML page or as another form type to let the user decide.

Syntax: To choose the URL they will end up at:
< input type=hidden name="redirect" value="http://your.host.com/thankyou.html">

Optional Form Field: require


Description: You can now require for certain fields in your form to be filled in before the user can successfully submit the form. Simply place all field names that you want to be mandatory into this field. If the required fields are not filled in, the user will be notified of what they need to fill in, and a link back to the form they just submitted will be provided.

(To use a customized no-interactive error page, see missing_fields_redirect)

Syntax: If you want to require that they fill in the email and phone fields in your form, so that you can reach them once you have received the mail, use a syntax like:
< input type=hidden name="require" value="email,phone,name">

You can use this on any field.

Optional Form Field: title


Description: This form field allows you to specify the title and header that will appear on resulting pages if you do not specify a redirect URL.

Syntax: If you wanted a title of 'Feedback Form Results':
< input type=hidden name="title" value="Feedback Form Results">

Optional Form Field: missing_fields_redirect


Description: This form field allows you to specify a URL that users will be redirected to if there are fields listed in the required form field that are not filled in. This is so you can customize an error page instead of displaying the default.

Syntax: <input type=hidden name="missing_fields_redirect" value="http://your.host.com/error.html">

OTHER

To add multiple selection fields simply append a "[]" to the end of a field name.

ie: (for checkboxes)

Option 1: <input type="checkbox" name="multi_field[]" value="option 1"><br>
Option 2: <input type="checkbox" name="multi_field[]" value="option 2"><br>
Option 3: <input type="checkbox" name="multi_field[]" value="option 3"><br>


ie: (for multiple selection fields)

<select name="multi_field[]" size="3" multiple>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>

UniMailer V1.2