Setting CFSelect properties (ColdFusion)

Setting CFSelect properties (ColdFusion)

Use this Property inspector to set the properties of a ColdFusion select box.

To set the CFSelect properties:

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

    Cfselect lets you specify a unique name for the control.

    Type lets you choose between a pop-up menu or a list. If you select the list type, the List Height and Allow Multiple List Selections options become available.

    List Height let you specify the number of lines to display in the list menu. Available only if you select the list type.

    Allow Multiple List Selections lets you specify whether the user can select more than one option from the list at a time. Available only if you select the list type.

    Edit Values opens a dialog box that lets you add, edit, or remove options from the select box.

    Initially Selected lets you specify which option is selected by default. You can select more than one option if you selected the Allow Multiple List Selections option.

    Recordset lets you specify the name of the ColdFusion query you want to use to populate the list or menu.

    Display Column lets you specify the recordset column to supply the display label of each list element. Used with Recordset property.

    Value Column lets you specify the recordset column to supply the value of each list element. Used with the Recordset property.

    Flash Label lets you specify a label for the select box.

    Flash Height lets you specify the height of the control, in pixels. This property is ignored by the ColdFusion server at runtime.

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

    Message specifies the message to be displayed if the Required property is set to Yes and the user failed to make a selection before submitting the form.

    Required lets you specify whether a menu item must be selected 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 select boxes
  • 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