Adobe COLDFUSION 9 Manual page 796

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Element
cf:validate type="valiadationtype"
cf:argument
(in the body of a
cf:validate
element)
cf:trigger
(in the body of a
element)
cf:validate
The following example shows the
on page 783:
Description
Data validation information.
Has one attribute,
and
cf:trigger
each of the following:
cfinput
cfinput
cfslider
cf:validate type="range"
Data validation specification.
Has one attribute,
multiple
cf:argument
CFML tag attribute values, such as maximum length, and maximum and
minimum range values. The element body contains the CFML attribute value.
Valid
name
values are as follows. Unless specified otherwise, the name is
identical to the corresponding CFML tag attribute name.
max
message
min
pattern
When to do the validation; specifies a form element
value.
Has one attribute,
onBlur
onSubmit
onServer
If a
validateAt
one
cf:trigger
element of the form shown in the image in
xf:bind
Last updated 8/5/2010
type
, the validation type, and one or more
children. ColdFusion generates a
or
cftextareavalidation
attribute
or
attribute
cftextarearange
: the
range
and
message
attributes are specified by a
element
name
, and body text. Each
cf:validate
children, corresponding to the validation-related
, which can be one of the following:
event
attribute specifies multiple validation triggers, the XML has
element for each entry in the list.
"About XML skinnable
791
cf:argument
cf:validate
element for
element can have
attribute
validateAt
forms"

Advertisement

Table of Contents
loading

Table of Contents