MACROMEDIA COLFUSION MX 7-CFML Reference page 247

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

Advertisement

Attribute
Req/Opt;
Formats
enabled
Optional;
Flash
visible
Optional;
Flash
tooltip
Optional;
Flash
height
Optional;
see
Description
width
Optional;
see
Description
Note: Attributes that are marked as not supported in XML are not handled by the skins provided with
ColdFusion MX. They are, however, included in the generated XML.
Usage
For this tag to work properly. the browser must be JavaScript-enabled.
If the
cfform preserveData
posted value of the cfinput control is used, instead of its Value or Checked attribute.
You can use the keyboard to access and select dates from a
to the field and press the Spacebar to open the menu. Use the Up, Down, Left, and Right Arrow
keys to change the selected date. Use the Home and End keys to reach the first and last enabled
date in a month, respectively. Use the Page Up and Page Down keys to reach the previous and
next month, respectively.
Note: To clear a datefield entry, select the field to open the menu, and click the selected date.
For more information, see
this tag, see Chapter 27, "Building Dynamic Forms with cfform Tags" in ColdFusion MX
Developer's Guide.
Validation
The following sections describe how to do validation in
Validation methods
fields.
password
You can specify one or a combination of the following in the
onSubmit The form page on the browser includes JavaScript functions that perform
validation before the form is submitted to the server. In Flash format forms, this option is
identical to onBlur.
Default
Description
Yes
Boolean value specifying whether the control is
enabled. A disabled control appears in light gray. The
inverse of the
Yes
Boolean value specifying whether to show the control.
Space that would be occupied by an invisible control is
blank.
Text to display when the mouse pointer hovers over the
control.
Applies to most Flash types, HTML image type on
some browsers. The height of the control, in pixels. The
displayed height might be less than the specified size.
Applies to most Flash types, HTML image type on
some browsers. The width of the control, in pixels. For
Flash forms, ColdFusion ignores this attribute if you also
specify a
attribute is true and the form posts back to the same page, the
. For information on using JavaScript regular expressions with
cfform
ColdFusion provides four methods of validation of
attribute.
disabled
attribute value.
size
Flash input: press Tab to go
datefield
tags.
cfinput
validateAt
and
cfinput text
attribute:
cfinput
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents