Setting CFHiddenField properties (ColdFusion)

Setting CFHiddenField properties (ColdFusion)

Use this Property inspector to set the properties of a ColdFusion hidden field.

To set the CFHiddenField properties:

  • Set any of the following options in the Property inspector:

    Cfhiddenfield lets you specify the unique name for the hidden field.

    Value lets you specify a value for the hidden field. The data can either be static or dynamic.

    To specify a dynamic value, click the lightning bolt icon beside the Value text box and select a recordset column in the Dynamic Data dialog box. The recordset column supplies a value to the text field when you view the form in a browser.

    Validate specifies the type of validation for the current field.

    Validate At specifies when the field is validated: onSubmit, onBlur or onServer.

    Label lets you specify a label for the control. This property is ignored by the ColdFusion server at runtime.

    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. This property is ignored by the ColdFusion server at runtime.

    Width lets you specify the width of the control, in pixels. This property is ignored by the ColdFusion server at runtime.

    Size lets you specify the size of the control. This property is ignored by the ColdFusion server at runtime.

    Required lets you specify whether the hidden field must contain data before the form is submitted to the server.

    Display Tag Editor lets you edit properties not listed in the Property inspector.

Related topics

  • Inserting ColdFusion hidden fields


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Reference
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly