Add
Web Forms
Adding web based
forms can be done using a few hidden fields in your html form.
Here are the steps for configuring your form. (Please note if
you are using FrontPage, forms support is included with
FrontPage. Please see your FrontPage manual for details.)
Note:
To
ensure security the recipient email address must be any_address@your_domain.com
(your_domain.com can be any site hosted under your bulk reseller
account)
If you want the form data to be sent to an
outside email address you will need to create an email forward
using your admin. For example: You can create a
forward forms@your_domain.com and forward that to you@hotmail.com
This page
may scroll with monitors set to less than 800 x 600 pixels to
simplify copying of form lines.
Required
Fields:
1) Set form
action to:
<form action="http://XXX/cgi-scripts/formmail.pl" method="POST">
<input type=hidden name="recipient" value="email@your_email.com">
Replace email@your_email.com
with the correct email address the form data should be emailed
to.
Optional
Fields:
1) If you
wish to choose what the email form data subject is:
<input type=hidden name="subject" value="Your Subject">
Replace Your Subject
with the subject you wish to use.
2) This form
field will allow the user to specify their return e-mail
address.
<input type=text name="email">
3) The
realname form field will allow the user to input their real
name.
<input type=text name="realname">
4) To add a
custom return page after the form is submitted.
<input type=hidden name="redirect" value="http://domain.com/file.html">
Replace http://domain.com/file.htm
with the correct path to your return page file.
5) If you
want to require that users complete specific form fields add:
<input type=hidden name="required" value="email,phone,...">
Replace email,phone,...
with the field names that should be required.
6) This will
allow you to add a return to page if required fields are not
complete.
<input type=hidden name="missing_fields_redirect"
value="http://domain.com/error.html">
Replace http://domain.com/error.html
with the URL of the error page you wish to display.
7) To sort
by a set field order:
<input type=hidden name="sort" value="order:name1,name2,etc...">
Replace
name1,name2,etc... with the filed names in the order you want
them to be displayed in the returned email.
8) If
you want to print all blank fields:
<input type=hidden name="print_blank_fields" value="1">
Add this line if you
want blank (uncompleted) form field names to be sent back in the
email response.