About Radio Components

You use the Radio component to show all the available choices from which a user can choose an option.

This page discusses:

See Also
About Rules
Creating Rules
Viewing Rules
About Notifications
Configuring Notification Rules

Example

The following figure shows an example of the properties of a Radio component:



The following figure shows the resulting output in the customized simulation template:

You can create rules that define a dependent option from the choices that are available to the user. In the example below, Rule 1 restricts the user's choices to only Debug, Info, or Message when the title is Stress. Similarly, Rule 2 restricts the user's choices to only Warning, Error, or System Error when the title is Strain.



Properties

The Radio component has the following properties:

Property Description Type Supports Rule Creation
Name The ID of the component (read-only) String
Value The object with which to bind or the default choice String, real, integer, or Boolean (provided choices have been defined for the parameter)
Label Text to display in front of the input field String
Custom color Color in which to display the label String
Alignment Display provided choices vertically or horizontally aligned Boolean
Choices Define rules that govern the available choices Rule
Read Only Whether or not the user can modify the default value Boolean
Mandatory Whether or not a value is required Boolean
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String
Notification Custom notifications to display for the component.
Note: This property can be controlled only by a rule.
String
Tooltip Additional information that appears when the user hovers over the component's help icon String