Setting CFImageField properties (ColdFusion)

Setting CFImageField properties (ColdFusion)

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

To set the CFImageField properties:

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

    Cfimagefield lets you specify a unique name for the control.

    Src lets you specify the URL of the inserted image.

    Alt lets you specify a message when the image cannot be displayed.

    Align lets you specify the alignment of the picture.

    Border lets you set the width of the image border.

    Edit Image opens the image in your default image editor.

    To define a default image editor, select Edit > Preferences > File Types / Editors. Otherwise, the Edit Image button does not perform any action.

    Validate specifies the type of validation for the image field.

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

    Label lets you specify a label for the radio button.

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

    Required lets you specify whether the control 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 image 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