unix web hosting

Checkboxes allow the web user to click on a box to toggle a value to either yes or no. Take a look at the following example:

<p ALIGN=Center>
     <center>
          <h1>Example of Form with Checkbox</h1>
     </center>
</p>
<form METHOD=POST ACTION="http://www.enetrics.com/cgi-bin/formmail.cgi">
     <p>Person's Name:
          <input TYPE="text" NAME="persons-name" SIZE="40" MAXLENGTH="40">
          <input TYPE="hidden" NAME="recipient" SIZE="40" MAXLENGTH="40">
     </p>
     <p>Password:
          <input TYPE="password" NAME="password" SIZE="10" MAXLENGTH="10">
     </p>
     <p>Please Place me on your mailing list:
          <input TYPE="checkbox" NAME="mailing-list" VALUE="Yes" checked>
     </p>
     <p>
          <input TYPE="submit" NAME="Request" VALUE="Submit This Form">
          <input TYPE="reset" NAME="Clear" VALUE="Clear Form and Start Over">
     </p>
</form>


The checked value at the end of the input tag identifies that value should be defaulted to a checked state. By omitting the checked value, the checkbox will not be checked. The reset button will re-initialize this value to a checked or non-checked state, depending upon the parameter identified in the tag.

Take a Look at the Example Form!

Beginning/Ending Form Tags
Text Entry Fields
Text Area Fields
Checkboxes
Radio Buttons
Combo Boxes
Submit and Reset Buttons
E-Mail the Contents of your Form
Example Forms

Hosting  ::  Web Design  :: Server Administration  ::  Tech Support  ::  Contacts
Data Centers  ::  Tier I Global IP Network  ::  SLA/Contracts  ::  Search  ::  Account Login