LESSON 13 - SAMPLE FORMS

From: (enter your email address)

I have done the following:

  • read instructions
  • nothing

I have something to tell you:

 The HTML code for the above

<form METHOD="POST" ACTION="http://www.SERVERNAME.com/cgi-bin/cgiemail/~mailbox/template.txt">
From: <input name="required-from"><p>
I have done the following:
<UL>
<LI> <input type="checkbox" name="donewhat" value="read-about">read instructions
<LI> <input type="checkbox" name="donewhat" value="nothing">nothing
</UL>
<P>
I have something to tell you:
<BR>
<input type="text" name="tell" size=75 maxlength=1000>
<P>
<P>
<input type=submit value="Send This Message">
<input type=reset value="Reset Form Responses">
</form>
<P>

The first line defines were the template.txt is stored:
<form METHOD="POST" ACTION="http://www.YOUR SERVER.com/cgi-bin/cgiemail/~yourmailbox name/template.txt>
The second line defines a required variable:
From: <input name="required-from"><p>
When entering a variable called "required-from" a person will be required to enter something in this field,The third line asks a question and this question has two check boxes for the answers:

INDEX

NEXT PAGE

Music 
News
Health
 History
  Sports
Archaeology
Geography
 College Courses