RadioButton

Display a set of mutually exclusive choices, each of which is displayed as a radio button.

XHTML Specification: <x-subst type="radio">

For more information, see <x-subst type="WidgetType"> .

Widget Properties

Widget Properties
Property Description
Value/Representation Specify the values and their representations of the items in the widget

Note: The format of the values in the ValRep must be same as the display format of the field.

Exclude Do not load the field in the server page if it does not need to be sent to the browser.

Description

When the field definition is copied to the layout, the XHTML source code similar to the following:

<x-subst name="RADIO.MY_ENTITY.MY_MODEL" type="radio">
 <input name="RADIO.MY_ENTITY.MY_MODEL" value="" offset="" type="radio">
</x-subst>

ValRep Handling

The maximum number of buttons depends on the ValRep for that widget. It is usually used for a very limited number of options.

The widget uses the ValRep list defined for the field to build up the options visible in the drop-down list. It expects a list of Value=Representation pairs and displays the representations labels for the radio buttons. If a ValRep item does not have a Representation, the Value is displayed instead. When the user selects an item, the corresponding value is selected.

For more information, see ValRep.