Dynamically preselecting HTML radio buttons

Dynamically preselecting HTML radio buttons

You can let the server decide whether to select an HTML radio button when the form is displayed in a browser.

If you want to dynamic preselect ASP.NET radio button objects such as RadioButton or RadioButtonList controls, see Dynamically preselecting an item in an ASP.NET RadioButtonList.

Before you begin, you must create the form in a ColdFusion, PHP, ASP, or JSP page, and insert at least one group of HTML radio buttons (see Inserting HTML radio buttons). You must also define a recordset or other source of dynamic content for the radio buttons. For more information, see Defining a recordset. Ideally, the source of content should contain Boolean data, such as Yes/No or true/false.

To dynamically preselect an HTML radio button:

  1. In Design view, select a radio button in the group.
  2. In the Property inspector, click the Dynamic button.

    The Dynamic Radio Group dialog box appears.

  3. Complete the dialog box and click OK.

    For instructions, see Setting the Dynamic Radio Group dialog box options or Setting the Dynamic Radio Group dialog box options (ColdFusion, ASP.NET).



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
Defining Sources of Dynamic Content
Developing Applications Rapidly