External Interfaces > RealWeb > RealWeb API > Forms > Form Elements > RW_RADIO

Comment on this topic

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)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RW_RADIO


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 BooleanClosed 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 CSSClosed 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.

RealityV15.1 (MoTW) Revision 7Comment on this topic