User Guide

Table Of Contents
700 Chapter 29: Creating Forms in Macromedia Flash
<cfinput type="text" name="email" label="email"
bind="{firstName.text}.{lastName.text}@mm.com">
Setting styles and skins in Flash forms
ColdFusion provides the following methods for controlling the style and appearance of Flash
forms and their elements:
Skins provide a simple method for controlling the overall appearance of your form. A single
skin controls the entire form.
Styles provide a finer-grained level of control than skins. Each style specifies a particular
characteristic for a single control. Many styles are also inherited by a controls children.
You can use both techniques in combination: you can specify a skin for your form and use styles
to specify the appearance (such as input text font) of individual controls.
The following sections describe these methods and how you can use them. For detailed
information on the style names and values that you can use, see Chapter 4, “ColdFusion MX
Flash Form Style Reference” in CFML Reference.
Controlling form appearance with Flash skins
The
cfform tag takes a skin attribute, which lets you select an overall appearance for your form.
The skin determines the color used for highlighted and selected elements.
You can select the following Flash skins:
haloBlue
haloGreen (the default)
haloOrange
haloSilver
About Flash form styles
The ColdFusion Flash form tags have a
style attribute that lets you specify control
characteristics using CSS syntax. You can specify a
style attribute in the following tags:
cfform
cfformgroup
cfcalendar
cfformitem, types hrule and vrule
cfgrid
cfinput
cfselect
cftextarea
cftree
The attributes for the cfform and cfformgroup generally apply to all the form or form
groups children.