Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
RW_RADIO (RealWeb) (rw_radio.htm)
![]() |
Example |
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.
RW_RADIO(Name, Value, Checked, aClass)
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
Boolean
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
CSS![]() |
Attributes defined in the aClass parameter are applied to the INPUT tag.
For information about using aClass, see The aClass Parameter.
Requires a previous call to RW_START_HTML_FORM.