618544
657
Zoom out
Zoom in
Previous page
1/661
Next page
650
USING DREAMWEAVER
Building forms
Last updated 3/28/2012
Insert ColdFusion date fields
Although you can’t 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.
Note: This enhancement is available only if you have access to a computer running ColdFusion MX 7 or later.
1 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.
2 In the Property inspector, set the form’s Format property to Flash.
The date field control can only be rendered in Flash-based ColdFusion forms.
3
Switch to Code view (View > Code) and enter the following tag anywhere between the opening and closing CFForm tags:
<cfinput name="datefield" type="datefield">
4 Switch to Design view, select the date field on the page, and then set any of the following options in the Property
inspector:
Cfdatefield Lets you specify a unique name for the control.
Value Lets you specify a date to be displayed in the field when the page first opens in a browser. The date can either
be static or dynamic.
To specify a dynamic value, click the lightning bolt icon beside the Value box and select a recordset column in the
Dynamic Data dialog box. The recordset column supplies a value to the date field when you view the form in a browser.
Validate Specifies the type of validation for the field.
Validate At Specifies when the field is validated: onSubmit, onBlur, or onServer.
Label Lets you specify a label for the field.
Pattern Lets you specify a JavaScript regular expression pattern to validate input. Omit leading and trailing slashes.
For more information, see the ColdFusion documentation.
Height Lets you specify the height of the control, in pixels.
Width Lets you specify the width of the control, in pixels.
Size Lets you specify the size of the control.
Required Lets you specify whether the date field must contain a value before the form is submitted to the server.
Display Tag Editor Lets you edit properties not listed in the Property inspector.
More Help topics
Validate ColdFusion form data” on page 651
Modify ColdFusion form controls
You can visually change the properties of ColdFusion form controls whether you’re working in Design view or Code view.
Note: This enhancement is available only if you have access to a computer running ColdFusion MX 7 or later.
1 In Design view, select the form control on the page; in Code view, click anywhere inside the control’s tag.
The Property inspector displays properties of the form control.
657


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe DREAMWEAVER CS5 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe DREAMWEAVER CS5 in the language / languages: English as an attachment in your email.

The manual is 21,23 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe DREAMWEAVER CS5

Adobe DREAMWEAVER CS5 User Manual - German - 753 pages

Adobe DREAMWEAVER CS5 User Manual - Dutch - 725 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info