214
CFTEXTINPUT
The CFTEXTINPUT form custom control allows you to place a single-line text entry
box in a CFFORM. In addition to input validation, the tag gives you control over all font
characteristics.
Note
Syntax
<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">
NAME
Required. A name for the CFTEXTINPUT control.
VALUE
Optional. Initial value that appears in the text control.
REQUIRED
Optional. Yes or No. If Yes, the user must enter or change text. Default is No.
RANGE
Optional. Enter a minimum value, maximum value range separated by a comma.
Valid only for numeric data.
VALIDATE
Optional. Valid entries are:
date — Verifies US date entry in the form mm/dd/yy.
eurodate — Verifies valid European date entry in the form dd/mm/yyyy.
CFTEXTINPUT incorporates a Java applet, so a browser must be Java-
enabled for CFTEXTINPUT to work properly.
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers