Creating Forms

Form Number 1 -- INPUT tag!

Use a telephone number to test the INPUT FORM tag!
Version #1:

Version #2 (forcing width of the displayed input field)

Version #3 (forcing width and forcing maximum number of characters allowable)

--This will allow for extra characters but the phone number without these extra characters will fill the form field display. Notice display width and character maximum don't have to be equal. --


Another use for INPUT fields is to create a PassWord field.
This option will make data entry invisible but the data is not protected by encryption!
Test this field by typing the word: PASSWORD


Form Number 2 -- Radio Buttons/Check Boxes tag!

Use various FORM data to test the RADIO and CHECKBOX tags!

Suppose you wanted to create RADIO boxes in order to have somebody check off their favorite color. Observe the following FORM:

What is your favorite color in the list below?
Red
Blue
Green
Black
Yellow
Orange
White
Purple


Suppose you want to give a user the option of selecting more than one choice. If you want a FORM to give this option, you must use CHECKBOXES. Observe the following example (when you look at the source code, notice that I used a different INPUT NAME for this set of data):

Check off all of your favorite colors from the list below?
Red
Blue
Green
Black
Yellow
Orange
White
Purple


Suppose you want to have a box checked prior to the question. You could force a box to be checked for the most probable answer. That way, the user only needs to check the alternative box (or boxes) when they truly do have a different answer. Observe the mini RADIO FORM below:

Do You Have a Pulse?    Yes No