Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

Ancient Future Designs
Forms

The form below is the one I will be using on my graphics pages for people to order as either linkware or purchase.
Full Name:
E-mail:
URL:
Site Number:
Please select one of the following:
Linkware:
Purchase:

I have added the html below so I can explain what each on the fields means. I have cleaned it up and removed all font tags and table tags, so if you want the form as is above, you'll need to save this page to your hard drive and copy the form setup from this page.
<form method="POST" action="mailto:ancient@bri.net.au" enctype="text/plain">
Full Name:
<input name="fullname" size=40 value="">
E-mail:
<input name="email" size=40 value="">
URL:
<input name="url" size=40 value="http://">
Set Number:
<input name="set" size=40 value="">
Please select one of the following:
Linkware:
<input type=checkbox name="linkware">
Purchase:
<input type=checkbox name="purchase">
<input type="submit" value="Submit">
</FORM>  

This is the reply I receive via email from the form being used by someone wanting to use Site 5 as linkware.
surname=smith
name=john
email=jsmith@somewhere.net
set=Site 5
linkware=on
If it was to be purchased, I would receive...
purchase=on

The first part of the form (cream) is what makes the whole thing work. You must have a valid email address for the form to reach you once posted.
The next part (green) are the input fields. These require a name (<inputname="fullname">) which becomes the value (value="") of that input field. Whatever is typed into this area becomes the value of that field. You can add as many input fields as you like. You may wish to have Surname and First Name fields instead of Fullname. To do that you just have two input fields.
<input="surname" value="">
(input="firstname" value="">
The default size (size=40) is 20 but I like to be able to see everything I type into a field so I size mine larger.
The next part (yellow) are called check boxes, and only one of these can be selected. As with the input fields you can add as many of these as you like. Always make sure you give your check boxes names because if you don't you won't know what they are for when you receive the email :)
The red part is the submit button. Whatever you write in value will be displayed on the button.
The last tag </FORM> is what ends the whole shebang! You can then continue on with the rest of your page.

For those of you who use Netscape Composer, this can all be done within the Composer environment by using Insert menu>HTML Tag... and placing your input fields where you'd like them. Try opening this page in Composer to see how to do this.