topical media & game development
lib-ch-example-form-index.htm / htm
<HTML>
<HEAD>
<TITLE> Fill-Out Form through WWW Common Gateway Interface
</TITLE>
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" vlink="#FF0000">
<CENTER>
<H2>
<FONT SIZE=+3>F</FONT>ILL-OUT
<FONT SIZE=+3>F</FONT>ORMS
<FONT SIZE=+3>T</FONT>HROUGH
<FONT SIZE=+3>WWW</FONT>
<FONT SIZE=+3>C</FONT>OMMON
<FONT SIZE=+3>G</FONT>ATEWAY
<FONT SIZE=+3>I</FONT>NTERFACE
</H2>
</CENTER>
<p>
The following examples demonstrate
Common Gateway Interface.
The source
code for decoding these examples is a
simple Ch CGI program called
<A HREF="form_ch.txt">
form.ch</A>. If Ch CGI has been setup properly in
your Web server, this program is
located in your_web_server_cgi-bin/chcgi/form.ch.
This Ch program
can handle both
<CODE>METHOD=POST</CODE>
and
<CODE>METHOD=GET</CODE>.
<HR>
<UL>
<LI> <A HREF="lib-ch-example-form-example-1.htm">Example 1</A> -- a ludicrously simple
fill-out form.
<LI> <A HREF="lib-ch-example-form-example-2.htm">Example 2</A> -- three text entry fields.
<LI> <A HREF="lib-ch-example-form-example-3.htm">Example 3</A> -- text entry fields and
checkboxes.
<LI> <A HREF="lib-ch-example-form-example-4.htm">Example 4</A> -- changing the default
values of text entry fields and checkboxes.
<LI> <A HREF="lib-ch-example-form-example-5.htm">Example 5</A> -- changing various
attributes of text entry fields.
<LI> <A HREF="lib-ch-example-form-example-6.htm">Example 6</A> -- multiple, independent
<I>forms</I> in a single document.
<LI> <A HREF="lib-ch-example-form-example-7.htm">Example 7</A> -- radio buttons, "one of
many" behavior.
<LI> <A HREF="lib-ch-example-form-example-8.htm">Example 8</A> -- password entry fields.
<LI> <A HREF="lib-ch-example-form-example-9.htm">Example 9</A> -- option menus.
<LI> <A HREF="lib-ch-example-form-example-10.htm">Example 10</A> -- scrolled lists with
single and multiple selections.
<LI> <A HREF="lib-ch-example-form-example-11.htm">Example 11</A> -- multiline text entry areas.
<LI> <A HREF="lib-ch-example-form-example-12.htm">Example 12</A> -- image maps in forms.
<LI> <A HREF="lib-ch-example-form-example-13.htm">Example 13</A> -- forms with hidden elements.
<LI> <A HREF="lib-ch-example-form-example-14.htm">Example 14</A> -- form with multiple values for a single name.
</UL>
<hr size = 4>
<A HREF="http://www.softintegration.com" target="_top">
<img src="poweredbych.gif" alt="Powered by Ch"></A>
</BODY>
</HTML>
(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.