v2.7 (latest)
Create a Button Group Input ​
This guide explains how to add a button group input element to a Rulecube Form.
A button group input renders a row of buttons where the user selects one option by clicking it.
Prerequisites: Add an Input status to your ruleset, set Type to enum and add Active, Inactive, Pending as Possible values.
Steps:
- Click + Element and choose Input
- Expand the element
- Set the Label to
Status - Under Property binding, set the Path to
status - Set the Input type to
Button group - Add options in one of two ways:
- Click Add options to add options manually
- Click Sync with enum to automatically add the options from the bound enum input
- Save the Ruleset
The field renders as a row of clickable buttons. The selected button is highlighted.