Macromedia coldfusion 4.5-cfml language reference User Manual

Page of 608
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.