Layout Connecting Your Form at the U of A Recommended Reading Introduction Forms are usually used to encourage feedback from your page readers, and can also be adapted to facilitate student self-evaluation. There are 5 common types of form fields, each of which offers the user a different way of inputting information. Each of these field types is indicated by a different HTML tag. The default text input field length is 20 characters. Radio Buttons Used for creating a list of items, only one of which can be selected.
Radio buttons can be useful in composing online multiple-choice tests.
Because they are used in groups, each radio button must be assigned a unique value. Enable your readers to choose more than one item from a list. Unlike radio buttons, each checkbox must be given its own name. The number indicates how many items in your list will be visible at one time. Sometimes it is necessary to create a hidden field in order to make a form work with a pre-built CGI script.