Radio Button
The RadioButton component is a wrapper of a radio button element.
Properties
name
- Description: (REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page.
- Type: String
- Default Value: RadioButton1
radioButtonName
- Description: (REQUIRED) Entername of the RadioButton form tag. Must not match the 'name' property.
- Type: String
- Default Value: RadioButtonName1
formName
- Description: Enter the name of the form in which the RadioButton resides.
- Type: String
defaultselected
- Description: Select whether the RadioButton is checked by default.
- Value Set: true | false
- Type: Boolean
- Default Value: false
selectedVal
- Description: Enter the value used for RadioButton.
- Type: String
showLabel
- Description: Select whether a to print the selected value as a label for the RadioButton.
- Value Set: true | false
- Type: Boolean
- Default Value: true
state
- Description: Select the RadioButton state.
- Value Set: editable | read-only | hidden
- Default Value: editable
- Type: String
testMode
- Description: Select the test mode.
- Value Set: off | alerts | text
- Type: String
- Default Value: off
- Is Expert: Yes
Methods
Render
- Name: render()
- Description: Renders control.
Events
On Click
- Name: onClick()
- Description: Event fires on click of the RadioButton.
On Focus
- Name: onFocus()
- Description: Event fires on focus of RadioButton.
On Blur
- Name: onBlur()
- Description: Event fires on blur of RadioButton.
On Render
- Name: onRender()
- Description: Event fires on render of RadioButton.
Other Information
Environment: Client