Description:
This widget control lets you define a list of checkboxes for selection. The user can select one or many. The user can also specify a display condition for other widgets on the Form.
Inputs
- ID/Name - Name of widget generated by FlowWright
- Checkboxes - Define the list of items required as checkboxes (comma suffix and unique value for reference)
- Display type - Select between Horizontal / Vertical
- Required - Select the checkbox for mandatory (tick mark)
- Hide - Select the checkbox to Hide (tick mark)
- Read Only - Select the checkbox to Read-Only (tick mark)
Allow Select All - Select the checkbox to select/unselect all items. - Display Condition - Define a display condition for other widgets based on the checkbox value
- Styles - Select Label Styles (Bold, Italic, Underline). Select ForeColor and BackColor. Select Font Size. Enter the CSS scripts for widget styles
- Apply Classes - Select between custom classes defined
- Tool Tip - Enter information to display on mouse hover on form render
- Save - Save the input values
- Delete - Remove this form widget from the designer page
- Close - Close the input popup window
Design:

Example:
Let’s build and execute the “CheckboxDef” example.
- Create a Form definition called “CheckboxDef.”
- Drag a “BootstrapGrid, Label, Text, Checkbox, and Submit” control to the canvas and arrange them as shown below.

- Double-click the “Checkbox” widget to configure the “Settings” properties. Provide a name for the widget. Provide the static values in “value, key” format. The “key” is required to configure the conditional display (show or hide) of other Form fields. Provide the default “key” value to render the checkbox as pre-selected. Select the display type as “horizontal or vertical”. Select the “Required” checkbox for mandatory input. Select the “Multiple items” checkbox to select multiple items from the drop-down list. Select the “Hide” checkbox to hide this widget during runtime. Select the “Read-Only” checkbox to view the list and not make any selection. Select the “Allow” checkbox to select (or unselect) all the options using a single select checkbox. Click the Save button.

- Double-click the “Checkbox” widget to configure the “Conditions” properties. Click the plus sign (+) to insert an empty row. Configure the display conditions here. Provide the control key value and map it with the required Form field to show on this condition. Otherwise, the selected Form field is hidden during runtime. The example below displays the label and text Form fields during runtime when the user selects the appropriate “Show” checkbox. Click on the plus sign (+) to add more display conditions. The Form controls are displayed when the appropriate checkbox values are selected during run time. Click the Save button.

- Double-click the “Checkbox” widget to configure the “Styling” properties. Select the checkbox to apply bold, italic, and underlined styles to the label. Select the Fore and Back color from the drop-down list. Select the font size from the drop-down list. Provide the syntax for the CSS styles. Select the classes to apply from the global drop-down list. Click the Save button.

- Double-click the “Checkbox” widget to configure the “Other” properties. Provide the tool tip text information. Click the Save button.

- Double-click the “Checkbox” widget to configure the “Globalize” properties. The application will alert you if there is nothing to globalize, as shown below. Otherwise, select the language from the drop-down list and click the Translate button. Click the Save button.

- Save the Form definition. Select Actions - Create Form Instance menu option. Generate a new Form Instance and select the check box to edit this Form Instance.

- The Form is rendered to the user as shown below.

- Select the check box to render the label and text (as per the display condition)

Definition Sample:
You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after import. Then, save the definition to confirm the changes.