Yes/No choice
This attribute is used to make a "Yes" or "No" choice via a checkbox on the form. You can create up to 40 such attributes on one form.
For more information on form fields visit the following WEBCON Community websites:
Example
Requiredness validation
The attribute can have three states in the system:
- True – the checkbox has been selected.
- False – the checkbox was visible and was saved as cleared.
- Empty/NULL – the checkbox has never been visible or saved, so it has no value in the database.
When working with a form in the browser, standard requiredness means that the checkbox must be selected, that is, it must have the value True.
On the server side, standard requiredness means that the attribute must have a value – not necessarily the value True.
Server-side validation is performed, for example, for:
- quick paths,
- timer actions,
- cyclical actions,
- operations executed from a report or outside a form in edit mode.
If the business scenario requires confirmation, acceptance, or consent – meaning the value True – you should configure a business rule for the requiredness restriction that checks whether the attribute's value is equal to True. In this case, validation will be consistent regardless of whether it is performed on the form or on the server side.