Radio Button
3 min
the radio button element presents a set of mutually exclusive options, allowing the user to select exactly one choice from a group it is the go to element when the options are finite, well known, and should all be visible at a glance without requiring the user to open a dropdown like the select input, the radio button supports three source types for populating its options a static list defined at design time, a json object, or a live url endpoint β enabling dynamic option sets that can be updated at runtime the currently selected value and the option list itself are both part of the element's data model and can be manipulated in any procesio forms event key use cases β’ priority selection (low / medium / high), gender, or response type fields β’ approval routing choices β e g , 'approve', 'reject', 'escalate' β’ dynamically updating options from an api on form load to reflect real time data β’ pre selecting a value from a process variable and displaying it as read only runtime api β attributes in procesio forms all attributes below are accessible and modifiable at runtime via the element's data model in procesio forms β on any available event such as onload, onchange, or custom triggers api name description type default notes label display label for the radio group string β β tooltip help text shown alongside the label string β β infotext supplementary info displayed below the group string β β defaultvalue initially selected value on form load any β β value currently selected value β read or set at runtime any β β readonly view only β user cannot change selection boolean false β disabled fully non interactive boolean false β visible controls element visibility boolean true β name unique element name string β β id unique element id string β β required a value must be selected to submit boolean false β sourcetype how options are provided string β static list, json, url sourcevalue the actual option data matching the chosen source type string|array β β for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
