The checkbox input provides a boolean input capability, although it can also be bound to other values.
In addition to the standard form input settings, a checkbox allows the following settings
- Value – Required, the checkbox value indicates what value the form should have if the checkbox is selected. If the checkbox is not selected the value will always be null, which is also equivalent to false in the Rule Engine. To indicate a simple boolean true, you may enter [true], or advanced values are possible. For example, to express a Virtual Identity Attribute the rule could be [Identity.Parent.Attributes.sAMAccountName]
- Selected – Required, a Rule Engine expression indicating whether the checkbox should start in a selected state (i.e. with the Value populated into the form's default value
- Validate Required – indicates if the checkbox must be selected to pass validation. This can be used for a mandatory confirmation, like a Terms and Conditions acceptance.