“Radio Buttons” field type allows to create group of the radio buttons. This field has following list of additional options for configuration:
Option | Description | Values |
---|---|---|
Display Label | allows to define group label that will be displayed on the site frontend for visitors at the top of the group of the radio buttons | any text value |
Placeholder | allows to specify a short hint that describes the expected value of the field and displayed inside the field | any text value |
Field Key | allows to get unique field key that can be used for different development purposes | read-only autogenerated value |
CSS Class | allows to specify CSS class name that will be added to the field wrapper block and can be used for different development purposes | any text value (several class names should be separated by space) |
Choises | allows to select method of getting dataset for choices element: Manual – allows to manually create one or several choose options; Callback Function (for developers) – option allows to specify PHP callback function that returns dataset array (for developers only) |
values from the drop-down list |
Description | allows to add text note below the field | any text value |
Choises :: Manual Method
“Manual” method allows to manually create one or several choose options.
Option | Description | Values |
---|---|---|
Edit Values | allows to show additional field “Values” for each option row | Yes/No |
Value | allows to manually set option values (for developers) | any unique text/numeric value for each option |
Selected | allows to define if option should be selected by default on the site frontend for site visitors | Yes/No |
Label | allows to define option label that will be displayed on the site frontend for visitors at the left side of the checkbox | any text value |
Choises :: Callback Function
“Callback Function” (for developers) – option allows to specify PHP callback function that returns dataset array (for developers only)
Option | Description | Values |
---|---|---|
Callback | allows to specify PHP callback function that returns dataset array | PHP callback function |
Please, leave a feedback about the page. Was this article helpful?