Setting
up an online form on your website
Placing
an online form on your web site is useful in many ways.
Forms can be used to get a person's email address, allow
a person to request information, or take product orders
online.
The
following is the syntax you must use in the coding of
your web page in order to get an online form to work on
our servers.
The
beginning of the form must look like this:
<FORM
ACTION="http://www.naplesnet.com/scripts/mailto.exe"
METHOD="post">
INPUT TYPE="hidden" NAME="sendto"
VALUE="email@yourdomain.com"
<INPUT TYPE="hidden" NAME="subject"
VALUE="Online Order">
<INPUT TYPE="hidden" NAME="resulturl"
VALUE="http://www.yourdomain.com/thanks.htm">
The
FORM ACTION tells our server what to do when the user
presses the "Submit" button at the end of
your form.
The
Sendto function tells our server which email address
to send the contents of the form to.
The
Subject function will be what the subject of the email
will be when you receive it.
The
Resulturl function is the address to the page that appears
after the user presses the "Submit" button.
It's a web page you create that usually thanks the user
for filling out the form.
When
the "Submit" button is pressed, our server
will send an email to the address specified in the form.
The email will contain everything that was typed into
the form.
Below
is a small sample form that you can use as a guideline
for your own forms. If you right-click on this page
and then select "View Source," you can look
at the coding used to create the form. Just look for
the Form Action line.