Implicit/Explicit Boolean
In computer science, a "boolean" is a fundamental data type which represents a "true" or "false" value.
The boolean Task Field types allow the user to answer a "yes or no" question.
Implicit Boolean¶
The Implicit Boolean field type renders as a simple single checkbox like the below example.
It is called "implicit" because it implicitly assumes an unchecked box is a "No" (or FALSE) answer.
Since leaving this field unchanged must accepted as a FALSE (or "No") value, the Required setting does not function for this field type.
If you want a boolean field which cannot be accidentally ignored, see the "Explicit Boolean" field below.
| Element | <input type="checkbox"> |
| Stored As | Bool |
| Additional Settings | None |
| Unsupported Settings | Required, Placeholder |
| Advanced Features | None |
Explicit Boolean¶
The Implicit Boolean field type renders as a set of radio buttons like the below example.
This field is called "explicit" because any value given to it ("Yes" or "No") is given explicitly and intentionally; it cannot be accidentally skipped and still provide a legitimate value.
The Required setting is supported for this field type.
| Element | <input type="radio"> |
| Stored As | Bool |
| Additional Settings | None |
| Unsupported Settings | Placeholder |
| Advanced Features | None |