radiogroup Control - radiogroupcontrol Class
The radiogroup control places a radio button group in the form. It uses the radiogroupcontrol class in the forms/controls folder.
The radiogroup control accepts several parameters:
- name (required)
- id
- default
- columns
- items
- values
- flip
- spacing
- required
- checked
- onclick
An example of the radiogroup control:
{control type="radiogroup" name="usebody" label="Body Text" value=$config.usebody|default:0 items="Full,Summary,None" values="0,1,2"}
Loading Help