Navigation Button

Internet Brothers: Helpware for the Cybercommunity - Web Forms

Other Forms Types

 

Enter your feedback here:

<FORM METHOD="POST"
ACTION="http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query">
<TEXTAREA NAME="feedback" ROWS=4 COLS=50></TEXTAREA></FORM>

TEXTAREA signals the browser to produce a potentially multi-line field, and the ROWS and COLS tags tell it how many lines long and how wide the field should be. Note that NAME is still required at the beginning of every input field, to signal in what variable the input will be stored and returned to the browser. These tags don't limit the length of a line someone can enter, or how many lines of text they can enter. They simply describe the appearance of the form.

Checkboxes and Radio Buttons

Come in TokyoCheckboxes allow your visitors to select an item with the click of a mouse. Groups of checkboxes can be used to create checklists. The inital value of a checkbox can be defined to be checked or not. If you want to set up a checklist from which the user may only select one item, then you should use radio buttons instead. Radio buttons allow the user to choose only one of a number of options. When you choose one option, any previously selected option is unselected. Like checkboxes, you can define a radio button to be checked by default, but unlike checkboxes you should only have one button in a group initially checked. Radio buttons are grouped together by assigning them all the same NAME (but different VALUEs).

I've found the Internet Brothers site to be (choose any combination):


    Splendid
    Superb
    Exceptional
    Outstanding
    Confusing

<FORM METHOD="POST" ACTION="http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"> <UL>
<BR><INPUT TYPE=checkbox NAME="splendid" VALUE="Y" CHECKED>Splendid
<BR><INPUT TYPE=checkbox NAME="superb" VALUE="Y" CHECKED>Superb
<BR><INPUT TYPE=checkbox NAME="exceptional" VALUE="Y" CHECKED>Exceptional
<BR><INPUT TYPE=checkbox NAME="outstanding" VALUE="Y" CHECKED>Outstanding
<BR><INPUT TYPE=checkbox NAME="confusing" VALUE="Y">Confusing
</UL>
</FORM>

TYPE tells the browser to produce a checkbox field, NAME specifies the variable where the returned value will be stored, and VALUE stores what will be returned in the variable when the box is checked. VALUE can be anything you choose. If you don't specify a VALUE, the value of checked fields defaults to "on". If a field is not checked, no value is returned to the ACTION program (as though the field did not even exist on the form). The attribute CHECKED turns the box on at initial display.


Which Internet Brother do you like best?


    Jeff - West Virginia Bro
    Dave - Colorado Bro

<FORM METHOD="POST" ACTION="http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"> <UL>
<BR><INPUT TYPE="radio" NAME="favorite" VALUE="jeff">Jeff
<BR><INPUT TYPE="radio" NAME="favorite" VALUE="dave">Dave
</UL>
</FORM>

Note the similarity to that of a checkbox, but instead of being able to have a different variable associated with every checkbox, all the radio buttons in a group must have identical NAMEs.

Continue With Option Lists and Miscellaneous

previous page     top of page     next page

The Internet Brothers have implemented hierarchical menus for navigation. Easier done than said.

The hierarchical menus were created using Peter Belesis' © Dynomat DHTML scripting tool from Webreference. Give them a visit, you'll like what you learn.

Our Lovely Email Icon    another darn bug






Site Map

 

 

 

 

You can tell if you're on the right track - it's usually uphill.

 

 

 

 

 

 

If you pay a person less than he earns, he will soon be earning less than he's paid.

 

 

 

 

 

 

It never occurs to teenagers that someday they will know as little as their parents.

 

 

 

 

Was this site useful to you?
Vote For Us at WebbieWorld

 

 

Copyright © 1997-present Internet Brothers. All Rights Reserved. Really.