Single Line Text Input |
<INPUT NAME="field name" |
Allows for a single line of text entry. The text box will be SIZE characters wide and allow MAXLENGTH characters of input. NAME defines the field name for the server application |
Passwords input |
<INPUT NAME="field name" |
Masks user input while they are typing. The text box will be SIZE characters wide and allow MAXLENGTH characters of input. NAME defines the field name for the server application |
Multiple Line Text Input |
<TEXTAREA Name="name" Rows=N Cols=N>default text</TEXTAREA> |
Allows user to enter more than one line of text. NAME is the field name, ROWS, COLS specify how big the text box is in terms of characters high/wide. NAME defines the field name for the server application. Default text is optional. |
Radio Buttons |
<INPUT TYPE ="RADIO" NAME="field name" Value="return value" CHECKED /> |
Draws a radio button. These commands are normally used in groups all of which have the same name. This allows for only one to be checked at a time. The CHECKED parameter is put on just one button to denote a default setting. Value is returned to the server application if the box is checked. (nothing is returned if the box is not checked). |
Check Boxes |
<INPUT TYPE = "CHECKBOX " |
Draws a check button. Value is returned to the server application if the box is checked. (nothing is returned if the box is not checked). The CHECKED parameter is used to denote a default setting. |
Listbox |
<SELECT NAME="field name" SIZE=N MULTIPLE> <OPTION VALUE="option1" SELECTED >Option 1
text</OPTION>
<OPTION VALUE="option2" SELECTED >Option 2 text</OPTION> </SELECT> |
Name in the SELECT specifies the name of the menu to the server application. SIZE refers to the number of lines visible, leaving size off or setting it to 1 will have the effect of a drop down box. If the MULTIPLE parameter is present then the user can select more than one option. OPTION tags must appear between <SELECT> and </SELECT>. The value within the option tag is returned to the server application if that item was selected. If the SELECTED parameter is present, then that option is selected by default. Text following the Option tag is the text which appears in the menu list. |
Push Buttons |
<INPUT TYPE = "Button" NAME="field name" VALUE="value" /> |
Draws a button filled with the text in the
VALUE
parameter. |
Browse Button |
<input type ="file" name =
"field name" /> |
Defines a file-select field and a "Browse..." button (for file uploads) |
Submit Form Buttons |
<INPUT TYPE = "SUBMIT" NAME="field name" VALUE="value" /> |
Draws a button filled with the text in the VALUE parameter. Invokes the server application when pressed by the user. Giving the buttons the same name and different values allows you to have multiple submit buttons, the server can then check the value to perform different actions when invoked. |
<INPUT type="IMAGE"
Name = "field name" src="image url" VALUE="value"
/> |
Draws a button whose image is specified in the src parameter. Invokes the server application when pressed by the user. Giving the buttons the same name and different values allows you to have multiple submit buttons, the server can then check the value to perform different actions when invoked. |
Reset/Clear |
<INPUT TYPE = "RESET" VALUE="value" /> |
Draws a button filled with the text in the VALUE parameter. Resets all fields on the form to their default values. |
Please enter all information so that we can better help you!