Setting the Radio Group dialog box options

Setting the Radio Group dialog box options

The Radio Group dialog box creates a group of radio buttons for use in an HTML form.

To set the dialog box options:

  1. In the Name text box, enter a name for the radio button group.

    If you want the radio buttons to pass parameters back to the server, the parameters will be associated with the name. For example, if you name the group myGroup and set the form method to GET (that is, you want the form to pass URL parameters instead of form parameters when the user clicks the submit button), then the expression myGroup="CheckedValue" will be passed in the URL to the server.

  2. Click the Plus (+) button to add a radio button to the group.

    If you want, enter a label and checked value for the new button.

  3. Click the up or down arrows to reorder the buttons.
  4. If you want a particular radio button to be selected when the page opens in a browser, enter a value equal to the radio button’s value in the Select Value Equal To box.

    You can enter a static value or you can specify a dynamic one by clicking the lightning bolt icon beside the box and selecting a recordset containing possible checked values. In either case, the value you specify should match the checked value of one of the radio buttons in the group. To view the checked values of the radio buttons, select each radio button and open its Property inspector (Window > Properties).

  5. Select the format in which you want Dreamweaver to lay out the buttons.

    Dreamweaver can lay out the buttons using line breaks or a table. If you select the table option, Dreamweaver creates a single-column table, and places the radio buttons on the left and the labels on the right.

  6. Click OK.

Dreamweaver inserts the radio button group in the HTML form. If you haven’t inserted a form on your page yet, Dreamweaver inserts one for you. You can use any layout or formatting tool to fine-tune the layout of the group.

Related topics

  • Setting the Dynamic Radio Group dialog box options (ColdFusion, ASP.NET)
  • Inserting HTML radio buttons
  • Dynamically preselecting HTML radio buttons
  • Defining a recordset


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
 
ASPTreeView.com
 
Evaluation has µЛННЙіёЗЗexpired.
Info...