Check box
Summarize
Summary of Check Box
The check box variable in ServiceNow provides a mechanism for enabling or disabling options based on user selection. It can be made mandatory to ensure that users complete necessary actions, such as agreeing to terms in an agreement form. If the check box is not selected upon submission, an alert prompts the user to make a selection.
Show less
Key Features
- Mandatory Check Box: Select the "Selection Required" option to enforce user selection.
- Grouping: Consecutive check box variables create a group, which can have a custom label assigned for clarity.
- Visibility Impact: If any check box in a group is mandatory, the entire group becomes mandatory, indicated by an asterisk () next to the group label.
- Service Portal Integration: Mandatory settings for check boxes apply similarly within the Service Portal environment.
- Catalog Builder Functionality: Creates a virtual container for consecutive check boxes, ensuring only check box types can be included.
- Pricing Models: In the Type Specifications tab, users can specify price configurations in multiple currency types and different pricing models, such as Calculated, Fixed, and Multiple.
Key Outcomes
By effectively utilizing check box variables, ServiceNow customers can enforce compliance in forms, enhance user experience through organized grouping, and efficiently manage pricing configurations. This functionality streamlines data collection and ensures that users are prompted to make necessary selections, thus improving the overall effectiveness of forms within the ServiceNow platform.
The check box variable lets you enable and disable options by selecting and clearing it.
To make a check box mandatory, select the Selection Required option when you create the variable. For example, use this option to require users to select the I agree check box for an agreement form. If users try to submit the agreement form without selecting the check box, an alert message is displayed to tell users that they must select the check box.
A group of check box variables is created when you create consecutive check box variables. These check box variables are sorted by their order within the group. If you want to define a custom label for the group of check boxes, create a label variable at the start of the consecutive check box variables. The label is then considered a part of this group and acts a label of the group. If there is no custom label, check boxes are grouped under an Options label by the application.
- If any check box variable in the group is mandatory, the entire group becomes mandatory irrespective of the visibility of the mandatory check box variable. An asterisk (*) is then displayed next to the group label and you must select at least one of these check boxes.
- Hiding the label hides the entire group.
- If all other check box variables of a mandatory check box group are hidden and not selected, the following scenarios are applicable:
- The group remains mandatory as long as there is one check box in the group that is visible and not selected.
- The last check box of this group cannot be hidden if it is not selected.
In Service Portal, to make a group of check box variables mandatory, set at least one of the check box variables as mandatory. While defining the label for a group of check boxes, setting a label mandatory does not make the group of check box variables mandatory.
- If there are two consecutive check boxes, then a virtual container is created for a group of check boxes. Only check box variable types can be added inside the group
- Even if a check box variable is added immediately after a group of check boxes, it is automatically added to the group.
- Calculated
- Fixed
- Multiple