<CFTEXTINPUT NAME="name" VALUE="text" REQUIRED="Yes/No" RANGE="min_value, max_value" VALIDATE="data_type" ONVALIDATE="script_name" MESSAGE="text" ONERROR="text" SIZE="integer" FONT="font_name" FONTSIZE="integer" ITALIC="Yes/No" BOLD="Yes/No" HEIGHT="integer" WIDTH="integer" VSPACE="integer" HSPACE="integer" ALIGN="alignment" BGCOLOR="color" TEXTCOLOR="color" MAXLENGTH="integer" NOTSUPPORTED="text">CFTEXTINPUT incorporates a Java applet, so a browser must be Java-enabled for CFTEXTINPUT to work properly.
Required. A name for the CFTEXTINPUT control.
Optional. Initial value that appears in the text control.
Optional. Yes or No. If Yes, the user must enter or change text. Default is No.
Optional. Enter a minimum value, maximum value range separated by a comma. Valid only for numeric data.
Optional. Valid entries are:
Optional. The name of a valid JavaScript function used to validate user input. The form object, input object, and input object value are passed to the specified routine, which should return TRUE if validation succeeds and FALSE otherwise. When used, the VALIDATE attribute is ignored.
Optional. Message text to appear if validation fails.
Optional. The name of a valid JavaScript function you want to execute in the event of a failed validation.
Optional. Number of characters displayed before horizontal scroll bar appears.
Optional. Font name for text.
Optional. Font size for text.
Optional. Enter Yes for italicized text, No for normal text. Default is No.
Optional. Enter Yes for boldface text, No for medium text. Default is No.
Optional. Height value of the control, in pixels.
Optional. Width value of the control, in pixels.
Optional. Vertical spacing of the control, in pixels.
Optional. Horizontal spacing of the control, in pixels.
Optional. Alignment value. Valid entries are:
Optional. Background color of the control. Valid entries are:
A hex value can also be entered in the form:
Where x is 0-9 or A-F. Use either two pound signs or no pound signs.
Optional. Text color for the control. See BGCOLOR for color options.
Optional. The maximum length of text entered.
Optional. The text you want to display if the page containing a Java applet-based CFFORM control is opened by a browser that does not support Java or has Java support disabled. For example:
By default, if no message is specified, the following message appears: