hiGetRadioValueString
hiGetRadioValueString(o_radio) =>t_value
Description
Returns the current value of a radio field as a string.
Arguments
Value Returned
|
Returns the string corresponding to the value. The value can be one of the following: |
Examples
Returns the current values, such as hello, instance-table, and instance-add.
form->radio->choices = list( "hello"
list("instance-add" "instance-add.png")
list("instance-table" '("instance-table.png" 20 20))
"so long" )
)
form->radio->value = "hello"
=> "hello"
hiGetRadioValueString(form->radio)
=> "hello"
form->radio->value = '("instance-table" ("instance-table.png" 20 20))
=> ("instance-table" ("instance-table.png" 20 20))
hiGetRadioValueString(form->radio)
=> "instance-table"
form->radio->value = "instance-add"
=> "instance-add"
hiGetRadioValueString(form->radio)
=> "instance-add"
Related Topics
Return to top