User Guide
156 Chapter 2: ColdFusion Tags
Note: Attributes that are not marked as supported in XML are not handled by the skins provided with
ColdFusion MX. They are, however, included in the generated XML as html namespace attributes to
the
form tag.
Usage
This tag requires an end tag.
You can use the following ColdFusion form control tags within the
cfform tag:
• cfapplet Used in HTML and XML format only; embeds a registered Java applet.
• cfformgroup Used in Flash and XML format only; groups and arranges child controls.
• cfformitem Used in Flash and XML format only; adds horizontal rules, vertical rules, and
text to the form.
• cfgrid Creates a grid control to display tabular data.
• cfinput Creates and an input element.
• cfselect Creates a drop-down list box.
• cfslider Used in HTML and XML format only; creates a slider control.
• cftextarea Creates a multi-line text input box.
• cftree Creates a tree control.
wMode Flash Opt Window Specifies how the Flash form appears relative to
other displayable content that occupies the same
space on an HTML page.
• window: the Flash form is the topmost layer on the
page and obscures anything that would share the
space, such as drop-down dynamic HTML lists.
• transparent: the Flash form honors the z-index of
dhtml so you can float items above it. If the Flash
form is above any item, transparent regions in the
form show the content that is below it.
• opaque: the Flash form honors the z-index of
dhtml so you can float items above it. If the Flash
form is above any item, it blocks any content that is
below it.
accessible Flash Opt No Specifies whether to include support screen readers
in the Flash form. Screen reader support adds
approximately 80KB to the SWF file sent to the
client.
preloader Flash Opt true Specifies whether to display a progress bar when
loading the Flash form.
timeout Flash Opt 0 Integer number of seconds for which to keep the
form data in the Flash cache on the server. A value of
0 prevents the data from being cached. For more
information, see “Caching data in Flash forms” in
ColdFusion MX Developer’s Guide.
Attribute Applies
to
Req/
Opt
Default Description