Setting CFFileField properties (ColdFusion)

Setting CFFileField properties (ColdFusion)

Use this Property inspector to set the properties of a ColdFusion file-upload field.

To set the CFFileField properties:

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

    Cffilefield lets you specify a unique name for the control.

    Max Length lets you specify the maximum number of characters that the path to the file can have.

    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. 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.

    Required lets you specify whether the file 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 file fields
  • Validating ColdFusion form data


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