Operation Manual
645
USING DREAMWEAVER
Building forms
Last updated 3/28/2012
4 To label the text area, click beside it and enter text for the label.
More Help topics
“Validate ColdFusion form data” on page 651
“Modify ColdFusion form controls” on page 650
Insert ColdFusion buttons
You can visually insert a ColdFusion button into your form and set its properties. ColdFusion buttons control
ColdFusion form operations. Buttons can be used to submit ColdFusion form data to the server or to reset the
ColdFusion form. Standard ColdFusion buttons are typically labeled Submit, Reset, or Send. You can also assign other
processing tasks that you defined in a script. For example, the button might calculate the total cost of selected items
based on assigned values.
Note: This enhancement is available only if you have access to a computer running ColdFusion MX 7 or later.
1 Place the insertion point inside the ColdFusion form outline.
2 In the CFForm category of the Insert panel, click the CF Button icon.
A button appears in the ColdFusion form.
3 Select the button on the page and set any of the following options in the Property inspector:
Cfbutton Lets you specify a unique name for the control.
Action Lets you specify the type of button to create.
Display Tag Editor Lets you edit properties not listed in the Property inspector.
The other properties are ignored by the ColdFusion server at run time.
More Help topics
“Modify ColdFusion form controls” on page 650
Insert ColdFusion check boxes
You can visually insert a ColdFusion check box into your form and set its properties. Use check boxes to let users select
more than one option from a set of options.
Note: This enhancement is available only if you have access to a computer running ColdFusion MX 7 or later.
1 Place the insertion point inside the form outline.
2 In the CFForm category of the Insert panel, click the CF Checkbox icon.
A check box appears in the ColdFusion form.
3 Select the check box on the page and set any of the following options in the Property inspector:
Cfcheckbox Lets you specify a unique name for the control.
Checked Value Lets you specify a value to be returned by the check box if the user checks it.
Initial State Lets you specify whether the check box is checked when the page first opens in a browser.
Validate Specifies the type of validation for the check box.
Validate At Specifies when the check box is validated: onSubmit, onBlur, or onServer.