Chapter 1: ColdFusion Tags
215
•
time
—
Verifies a time entry in the form hh:mm:ss.
•
float — Verifies a floating point entry.
•
integer — Verifies an integer entry.
•
telephone — Verifies a telephone entry. Telephone data must be entered as ###-
###-####. The hyphen separator (-) can be replaced with a blank. The area code
and exchange must begin with a digit between 1 and 9.
•
zipcode — (U.S. formats only) Number can be a 5-digit or 9-digit zip in the form
#####-####. The hyphen separator (-) can be replaced with a blank.
•
creditcard — Blanks and dashes are stripped and the number is verified using
the mod10 algorithm.
•
social_security_number — Number must be entered as ###-##-####. The
hyphen separator (-) can be replaced with a blank.
ONVALIDATE
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.
MESSAGE
Optional. Message text to appear if validation fails.
ONERROR
Optional. The name of a valid JavaScript function you want to execute in the event
of a failed validation.
SIZE
Optional. Number of characters displayed before horizontal scroll bar appears.
FONT
Optional. Font name for text.
FONTSIZE
Optional. Font size for text.
ITALIC
Optional. Enter Yes for italicized text, No for normal text. Default is No.
BOLD
Optional. Enter Yes for boldface text, No for medium text. Default is No.
HEIGHT
Optional. Height value of the control, in pixels.
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...