This example asks for the name and email address, some demographics, and for feedback.
<form method=post action="http://??/cgi/users.pl">
Name: <input text name="username" value="noname"><br>
Email: <input text size=30 name="usermail"><br>
Zipcode: <input text name="userzipcode"><p>
<select name="usersex">
<option> Male <option> Female </select><p>
Please send us your comments!<br>
<textarea name="usercomments" rows=6 cols=50> </textarea>
<input type="submit" value="send comments">
<input type="reset" value="clear form">
</form>
Before the end of the form, we will ask for all the information from one customer. (There is no way to tell if two different forms came from the same session.)

See also color IMAGE Foil 27 Example Form

From Preparing Web Pages - HTML Presentation: Preparing Web Pages with HTML -- Fall Semester 96. by Nancy McCracken-Foils prepared December 5 1996


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Dec 6 1996