topical media & game development
lib-ch-example-form-example-2.htm / htm
<TITLE>Fill-Out Form Example #2</TITLE>
<body bgcolor="#FFFFFF" text="#000000" vlink="#FF0000">
<H1>Fill-Out Form Example #2</H1>
This is another fill-out form example, with multiple text entry
fields. <P>
<HR>
<FORM METHOD="POST" ACTION="lib-ch-example-form--form.cgi">
The first text entry field goes here: <INPUT NAME="entry1"> <P>
The second text entry field goes here: <INPUT NAME="entry2"> <P>
The third text entry field goes here: <INPUT NAME="entry3"> <P>
To submit the query, press this button: <INPUT TYPE="submit"
VALUE="Submit Query">. <P>
</FORM>
<HR> <P>
Things you may want to note: <P>
<UL>
<LI> Each text entry field is given a distinct <CODE>NAME</CODE>
attribute.
<LI> The query that results from this form looks like this:
"?entry1=blah&entry2=blargh&entry3=blorf" (assuming "blah"
had been typed into the first field, "blargh" into the second,
and "blorf" into the third).
<LI> If nothing is typed into any of the fields, the corresponding
"name=value" pairs will still be present in the query, with the
value simply absent. So, if you type "blah" into the first field
and "blorf" into the third but nothing into the second, the query
is "?entry1=blah&entry2=&entry3=blorf".
</UL>
<A HREF="lib-ch-example-form-example-1.htm">Back to example 1</A> or <A
HREF="lib-ch-example-form-example-3.htm">forward to example 3</A>. <P>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.