Chapter 4: Retrieving and Formatting the Data You Want
HTML Form Controls
Control
Code
<INPUT TYPE="Text" NAME="ControlName" SIZE="Value" MAXLENGTH="Value">
Text control
<INPUT TYPE="Radio" NAME="ControlName" VALUE="Value1">DisplayName1
Radio
<INPUT TYPE="Radio" NAME="ControlName" VALUE="Value2">DisplayName2
buttons
<INPUT TYPE="Radio" NAME="ControlName" VALUE="Value3">DisplayName3
<SELECT NAME="ControlName">
Select box
<OPTION VALUE="Value1">DisplayName1
<OPTION VALUE="Value2">DisplayName2
<OPTION VALUE="Value3">DisplayName3
</SELECT>
<INPUT TYPE="Checkbox" NAME="ControlName" VALUE="Yes|No">Yes
Check box
<INPUT TYPE="Reset" NAME="ControlName" VALUE="DisplayName">
Reset button
<INPUT TYPE="Submit" NAME="ControlName" VALUE="DisplayName">
Submit
button
To create a form:
1.
Create a new application page, using Studio.
2.
Edit the page so that it appears as follows:
31
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?