[HOME] [header] [form] [formatting] [frame] [image] [link] [list] [map] [table] [template]

Form

imgage
  • Form is used to get information from user.
  • Various controls allow user to enter passwords, choose from lists,
    or enter free form text
  • Forms are the front end mechanism for user to input
  • Programs (CGI) handle the requests sent in by the user
  • For the user to submit queries to obtain information from your database
  • CGI: Program sets up to handle the requests sent in by the user.
  • No nest form is allowed

 


[IMAGE]Please Click for Form Sample


HTML Commands:

<form ACTION="url" METHOD="POST"> <input (TYPE="CHECKBOX/RADIO/SUBMIT/RESET/password)" NAME="..." MAXLENGTH="#" VALUE="..."> <textarea>...</textarea> </form> <form> <select NAME="..." SIZE="#&quot;" <OPTION> <option> </select> </form> Sample: <form ACTION="http://hoohoo.ncsa.uiuc.edu/cgi-bin/post-query" METHOD="POST" ENCTYPE="text/plain&gt; Your Name: &lt;INPUT NAME=" name"> Zip Code: <input SIZE="6" MAXLENGTH="6" NAME="zip"> Password: <input TYPE="password" NAME="password"> <input TYPE="CHECKBOX" NAME="classes" VALUE="Chinese Dance"> <input TYPE="RADIO" NAME="age" VALUE="Before 18&gt; &lt;INPUT TYPE=SUBMIT NAME=" button VALUE="Submit Query"> <input TYPE="RESET" VALUE="Reset Form"> </form>

 


Any Questions About This Manual, Please Contact Me
Polly Yeh
editor: polly yeh   web designer: polly yeh   email: 6176696@cheerful.com tel: 604--617-6696
pages last updated 15 may 1998
[IMAGE]
 


           
  Main     Polly   Company   HTML   Research   Topic  
         
  web designer: polly yeh   E mai: 6176696@cheerful.com    Tel: 604-617-6696
page last updated: 15 may 1998