Guided Workflow Screen Components - Checkbox

Updated 

Overview

A checkbox is an interactive element in a form that enables users to independently select or deselect options. Each checkbox serves as a binary control, representing a choice between two mutually exclusive options, such as "Yes" (checked) or "No" (unchecked).

Fields of the Checkbox

  • API Name: The API Name is a unique identifier for a specific object, field, or component. It is typically used programmatically or in backend integrations. It often follows a convention with underscores separating words (for example, Customer_Status__c).

  • Label: You can define the heading of the field to be displayed during runtime. The label can be used to provide intuitive guidance to the end user, clearly indicating what input value is expected in the field. You can also configure the label dynamically using the Resource Selector.

  • Mark Field as Mandatory: Enable this checkbox to make the field required, preventing users from proceeding without providing a value.

Default Value

  1. Enable Reporting

    • This feature allows the checkbox to be utilized for reporting purposes. For example, you can track how many users select "Yes" or "No," providing insights into user preferences and actions.

  2. Configure Error Messages

    • This field enables you to define a warning message for users who fail to select the checkbox. It ensures that users are aware of mandatory selections or missed actions.

  3. Input Disability Conditions: Enables custom validation logic for the Text Input component. Once enabled, additional fields appear to define:

    • The validation condition (e.g., required format, minimum/maximum length).

    • The error message displayed when validation fails.

    This ensures that users provide valid input before proceeding.

  4. Visibility Conditions

    • The checkbox content will be displayed based on visibility conditions. For example, if a variable is defined before the screen and the checkbox's appearance depends on that variable, visibility conditions can be utilized to control its display.

By offering flexibility and interactivity, checkboxes enhance user engagement and facilitate conditional workflows within forms.