sales.gif (3155 bytes) netone-ani.gif (8651 bytes)support.gif (3355 bytes)

Using Web Page Forms


The following is a description of the use of NetOne's FormMail script. FormMail was created by Matt Wright and can be found at Matt's Script Archive, an excellent resource for cgi scripts.

Below is a sample form much like you may have seen in use on many web pages:

Name:

E-mail Address:

Mailing Address:

City:
State: Country:
Phone (optional)


Follow these line-by-line descriptions to implement this type of form on your own web page:

  1. This field tells FormMail where to send the form output: "username@netonecom.net" is the e-mail address where you want the results of the form sent:
      <FORM METHOD=POST ACTION="http://users.netonecom.net/cgi-bin/FormMail.pl">
      <input type=hidden name="recipient" value="username@netonecom.net">
  2. These three fields generate a Results Page which shows the user of the form his/her completed form and provides a return link (to your hompage or wherever):
      <input type=hidden name="title" value="Title of the Page Here">
      <input type=hidden name="return_link_url"
        value="http://www.netonecom.net/whatever.html/">
      <input type=hidden name="return_link_title" value="Title for link to the Above
        Page Here">
  3. This field will add a description of the user's host and the browser they are using:
      <input type=hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
  4. Following the above fields, you may insert a form of any kind. This is the code to complete the simple form above:
      <BR> <BLOCKQUOTE><B>
      Name:<INPUT NAME="name" TYPE="text" SIZE="49"><BR>
      E-Mail Address:<INPUT NAME="e-mail" TYPE="text" SIZE="40"><BR>
      Mailing Address:<INPUT NAME="street/po box" TYPE="text" SIZE="40"><BR>
      City:<INPUT NAME="city" TYPE="text" SIZE="27">
      State:<INPUT NAME="state"TYPE="text" SIZE="2">
      Country:<INPUT NAME="country" TYPE="text" SIZE="4"><BR>
      Phone (optional)<INPUT NAME="phone" TYPE="text" SIZE="30"><BR></B>
      <INPUT TYPE="submit" VALUE="Submit"><INPUT NAME="name" TYPE="reset"
       VALUE="Reset"></BLOCKQUOTE></FORM>

If you need more help generating a form, please try these links:

  • Matt's README on the FormMail
    --by the author of FormMail.
  • NCSA's guide to HTML Forms
    --rather dry, but effective. (Be sure to check out their Example Forms)
  • Carlos' Forms Tutorial
    --less dry, more fun.
  •   Home | Contact | Business | Hosting | Members | News | Policy | Search
     Services | Settings | Software | Support | Weather