Creates a group of radio buttons for selecting a value
|
Current version | 1.0 |
| Author |
Aisti Visit Aisti's site |
Currently you are only able to download controls through Bildy Editor.
When you have to choose something from just a few options, radio group is the way to go. All options are visually available which makes selecting the right one quick (when there are more options, droplist becomes better).
Radio Group creates a group of radio buttons defined in control's settings. The selected option will be saved to the database.
selected |
Set selected value by using element's value (not the key name) inside this attribute. |
selectedindex |
Set selected value by using element's number (starting from 0) inside this attribute. |
append |
Adds options to the beginning of the list. If selected and submitted, these values will be saved to the data base. However, these values cant be selected through Bildy editor. Values must be given as arrays in a JSON where for each option there is an array consisting label and value-keys. For example:
While the style above is recommended, you can shortcut by giving array with to values. The first one will be used as label and the second one as value.
If no value is given, label will also be used as value.
Note that if you're passing these attributes in HTML, unlike strict JSON format, you can use ' instead of ". |
prepend |
Works like append, but adds options to the end of option list. |