Checkbox
2 min
the checkbox element captures a simple boolean decision β checked or unchecked β making it the ideal control for consent acknowledgments, feature toggles, optional inclusions, and any yes/no decision in a form its value at any point in time reflects the current checked state and is always accessible through the element's data model in procesio forms you can pre check it by default (selectedbydefault), lock it as read only to display a confirmed state, or respond to its change event to trigger downstream logic β such as revealing additional form sections or modifying a process variable key use cases β’ terms and conditions acceptance, gdpr consent, or opt in confirmations β’ toggling visibility of other form sections based on the checked state β’ displaying a pre confirmed boolean flag from a process as read only β’ including optional items in a request (e g , 'include cover page') 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 next to the checkbox string β β tooltip help text shown alongside the label string β β infotext supplementary info displayed below the element string β β selectedbydefault if true, the checkbox is pre checked on load boolean false β value current checked state β read or set programmatically boolean β β readonly view only β user cannot change state 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 if true, the checkbox must be checked to submit boolean false β for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
