topical media & game development

talk show tell print

lib-ch-example-form-example-9.htm / htm



  <TITLE>Fill-Out Form Example #9</TITLE>
  <body bgcolor="#FFFFFF" text="#000000" vlink="#FF0000">
  <H1>Fill-Out Form Example #9</H1>
  
  This is another fill-out form example, with option menus. <P>
  
  <HR>
  
  <FORM METHOD="POST" ACTION="lib-ch-example-form-form.cgi">
  
  <H2>Your Daily Planner</H2>
  
  What would you like to do today? 
  
  <SELECT NAME="what-to-do">
  <OPTION>               Drink Coffee
  <OPTION SELECTED>    Read A Book
  <OPTION> Take A Walk
  <OPTION>Buy A Bagel
  <OPTION> Watch TV
  </SELECT> <P>
  
  Who would you like to do it with? <P>
  
  <DL>
  <DD> 
  <SELECT NAME="who-to-do-it-with">
  <OPTION> Marc
  <OPTION> Eric
  <OPTION> George
  <OPTION SELECTED> Aleks
  <OPTION> Jon
  <OPTION> Chouck
  </SELECT>
  </DL>
  
  To submit your choices, press this button: <INPUT TYPE="submit"
  VALUE="Submit Choices">. <P>
  
  To reset the form, press this button: <INPUT TYPE="reset" VALUE="Reset">.
  
  </FORM>
  
  <HR> <P>
  
  Things you may want to note: <P>
  
  <UL>
  <LI> Whitespace is cleaned (supposedly).
  <LI> If you don't specify any of the <CODE>OPTION</CODE>s as
       <CODE>SELECTED</CODE>, the first option will be the default.
  </UL>
  
  <A HREF="lib-ch-example-form-example-8.htm">Back to example 8</A>;
  <A HREF="lib-ch-example-form-example-10.htm">forward to example 10</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.