The CFINPUT tag closely resembles the HTML INPUT tag and can be used for creating text boxes, password entry boxes, radio buttons, and checkboxes. At the most basic level, the CFINPUT tag behaves exactly like the HTML INPUT tag. Consider the following HTML INPUT tags:
<INPUT TYPE="Text" NAME="MyText" SIZE="10" MAXLENGTH="10" VALUE="MyValue"> <INPUT TYPE="Password" NAME="MyPassword" SIZE="10" MAXLENGTH="10"> <INPUT TYPE="Radio" NAME="MyRadioButton" VALUE="MyValue" CHECKED> <INPUT TYPE="Checkbox" NAME="MyCheckbox" VALUE="MyValue" CHECKED>