1 | This example asks for the name and email address, some demographics, and for feedback. |
2 | <form method=post action="http://??/cgi/users.pl"> |
3 | Name: <input text name="username" value="noname"><br> |
4 | Email: <input text size=30 name="usermail"><br> |
5 | Zipcode: <input text name="userzipcode"><p> |
6 | <select name="usersex"> |
7 | <option> Male <option> Female </select><p> |
8 | Please send us your comments!<br> |
9 | <textarea name="usercomments" rows=6 cols=50> </textarea> |
10 | <input type="submit" value="send comments"> |
11 | <input type="reset" value="clear form"> |
12 | </form> |
13 | 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.) |