214
CFML Language Reference
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
CFTEXTINPUT incorporates a Java applet, so a browser must be Java-
enabled for CFTEXTINPUT to work properly.
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.
Summary of Contents for COLDFUSION 4.5-CFML LANGUAGE
Page 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Page 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Page 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Page 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Page 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Page 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Page 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Page 584: ...560 CFMLLanguageReference...
Page 594: ...570 CFMLLanguageReference...