MACROMEDIA COLFUSION MX 7-CFML Reference page 413

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

Note: Attributes that are marked as Flash only are not handled by the skins provided with ColdFusion
MX. They are, however, included in the generated XML.
Attribute
Req/Opt;
Format
name
Required;
All
label
Optional;
Flash and
XML
style
Optional;
All
required
Optional;
All
validate
Optional;
All
validateAt
Optional;
HTML and
XML
message
Optional;
All
range
Optional;
All
maxLength
Optional;
All
Default
Description
Name of the
Label to put beside the control on a form.
In HTML or XML format forms, ColdFusion passes the
attribute to the browser or XML.
style
In Flash format forms, must be a style specification in
CSS format, with the same syntax and contents as used
in Macromedia Flex for the corresponding Flash element.
no
• yes: the field must contain text.
• no: the field can be empty.
The type or types of validation to do. Available validation
types and algorithms depend on the format. For details,
see the Usage section of the
onSubmit How to do the validation; one or more of the following:
• onSubmit
• onServer
• onBlur
For Flash format forms, onSubmit and onBlur are
identical; validation is done when the user submits the
form. For multiple values, use a comma-delimited list.
For details, see the Usage section of the
reference.
Message text to display if validation fails.
Minimum and maximum allowed numeric values.
ColdFusion uses this attribute only if you specify range in
the
validate
If you specify a single number or a single number followed
by a comma, it is treated as a minimum, with no maximum.
If you specify a comma followed by a number, the
maximum is set to the specified number, with no
minimum.
The maximum length of text that can be entered.
ColdFusion uses this attribute only if you specify
maxlength in the
control.
cftextinput
cfinput
attribute.
attribute.
validate
tag reference.
tag
cfinput
cftextarea
413

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents