![MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Скачать руководство пользователя страница 134](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-cfml-language/coldfusion-4-5-cfml-language_reference_3287257134.webp)
110
CFML Language Reference
•
date — Verifies US date entry in the form mm/dd/yyyy.
•
eurodate — Verifies valid European date entry in the form dd/mm/yyyy.
•
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. The size of the input control. Ignored if TYPE is Radio or Checkbox.
MAXLENGTH
Optional. The maximum length of text entered when TYPE is Text.
PASSTHROUGH
Optional. HTML attributes that are not explicitly supported by CFINPUT. If you
specify an attribute and its value, the attribute and value are passed to the HTML
code that is generated for the CFINPUT tag. See the Usage section for more
information about specifying values.
Usage
You can add standard and dynamic HTML FORM tag attributes and their values to the
CFINPUT tag by using the PASSTHROUGH attribute. These attributes and values are
passed directly through ColdFusion to the browser in creating a form.
Содержание 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...