RW_RADIO
| Example | 
Purpose
Defines a radio button. Outputs directly to RealWeb's RWC.OUTBUF buffer. Radio buttons operate in a similar way to checkboxes, but only one button in a group can be selected.
Syntax
RW_RADIO(Name, Value, Checked, aClass)
Parameters
Name Name of the button. All radio buttons in a group have the same name.
Value Value for the button. When the form is submitted, the value returned for a group of radio buttons is the value associated with the selected button.
Checked A operator that determines the initial state of the button (selected or not selected). Only one button in a group can be selected.
aClass A dynamic array that can contain the following elements:
| Element No. | Attribute | Description | 
|---|---|---|
| 1 | CLASS | The name of a tag class defined in a stylesheet. | 
Attributes defined in the aClass parameter are applied to the INPUT tag.
For information about using aClass, see The aClass Parameter.
Dependencies
Requires a previous call to RW_START_HTML_FORM.
 Related Topics
Related Topics