WebMail Form
Sample
Below is an example of a WebMail form that has
the basics you may want in a Web form. To view the hidden fields,
open this page in Dreamweaver. Feel free to copy and paste the
entire form and modify it to fit your
needs.
Here are some brief notes regarding the hidden fields
(HTML) used in this form. For more information about HTML Forms:
Using WebMail, go here.
return_URL
In this example, the value is "forms.shtml", which will
return the user to "forms.shtml" after they have submitted this
form. Replace
with
the
appropriate
file name that you want the user to return to. A link that indicates "Go
to previous page" will
appear on the top and bottom of the confirmation page. The confirmation
page provides a copy of all the information submitted and a "printer
friendly page".
In HTML, place the following hidden field within
the form: <
input type="hidden" name="return_URL" value="forms.shtml">
to_nickname
The value is "test", to show what the output of this
form would look like without sending any email. Replace with the
appropriate
value (once the form has been tested is ready to use).Important:
The value is not an email address, it is a special recipient list
that you establish through the MHC Webmaster. Please use this form to
set up a recipient list for your WebForm (if you don not have one
set up).
In HTML,
place the following hidden field within the form: <
input type="hidden" name="to_nickname" value="test">
field_required
The values listed here include all the fields you determine to
be mandatory fields. If the user has
not filled in all the required fields and hits the submit button,
they will receive the following message: The form you have submitted
requires values for each of the fields listed below. They will
see a message indicating to use the browser "return" button
to complete the required fields. Note: Include an asterisk and
footnote (as shown
below) indicating *required fields.
In HTML, place the following hidden field within
the form: <
input type="hidden" name="field_required" value="from_first_name
from_last_name email">
subject
The value in this example, "FP_Inquiry", will be the
email subject for the submitted form. Replace with the appropriate
value for your subject.
In HTML, place the following hidden field within
the form: <
input type="hidden" name="subject" value="FP_Inquiry">
field_order
The values here should be in the order that you want the fields
listed. All fields must be listed here. Any field that is excluded
from field order, will not be included in the email/form submission.
In HTML, place the following hidden field within
the form:
<input type="hidden" name="field_required" value="from_first_name
from_last_name email">
keep_eols
This field name will provide paragraph breaks (if the user includes
them) in the email submission of a multi-line text field. Note:
this does not work on all browsers. See example "Tell
Your story".
In HTML,
place the following hidden field within the form:
<
input type="hidden" name="keep_eols"
value="yes">
Inquiry Form
*required
fields
|