Inserting ColdFusion date fields
Although you cant visually insert a ColdFusion date field in Dreamweaver, you can visually set its properties. A ColdFusion date field is a special type of text field that lets users select a date from a pop-up calendar to insert it in the text field.
This Dreamweaver enhancement is only available if you have access to a computer running ColdFusion MX 7 or later. For more information, see Enabling the ColdFusion enhancements.
To insert a ColdFusion date field and set its properties:
- In Design view, select the CFForm to display its Property inspector.
To quickly select the form, click anywhere in the form outline and click the
<cfform> tag in the tag selector at the bottom of the Document window.
- In the Property inspector, set the forms Format property to Flash.
The date field control can only be rendered in Flash-based ColdFusion forms.
- Switch to Code view (View > Code) and enter the following tag anywhere between the opening and closing CFForm tags:
<cfinput name="datefield" type="datefield">
- In the Property inspector, set the date field properties.
For more information, click the Help icon in the Property inspector.