|
||||||
|
Relate Components | RelateScript | BlueStep.js |
Boolean Fields
Boolean fields hold a true/false or yes/no value. They can represent anything where there are exactly two choices. A boolean value may also be empty or null. Aside from the standard features shared by most field types, boolean fields have a number of format options, they can do grouping, and they can be used for conditional locking and hiding. These three feature categories are discussed below. Format
A boolean field may have two different formats with some minor additional settings.
Grouping
Boolean fields support grouping where one set of fields is visible when the field is true and another set is visible when the field is false.
Conditional Locking
Conditional locking is a general feature that is available on most field types. It allows almost any field to be conditionally made read-only (locked) or hidden based on the value of another field. However, only certain types of fields may be part of the condition which causes the locking/hiding. Boolean fields are one of the field types that support this. The locking/hiding settings are configured on the field to be locked/hidden, not on the boolean field, but they are documented here because each type of field which may be the condition of the lock is a bit different. Conditional locking and hiding is always done before the page displays. If the user changes the value of the boolean field after the page is displayed no fields will instantly become locked or unlocked, visible or hidden. Conditional locking/hiding effects fields whether they are shown as part of the generic layout or as part of a custom layout.
Boolean fields may conditionally lock/hide other fields when the boolean field is true or when it is false. Boolean fields cannot lock/hide fields when the boolean value is null.
|