Make a True/False field required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 12:51 PM
Is there a way to required a true/false field to be true in order to close a record?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 12:57 PM
Add a UI policy to make it mandatory, then the user will have to check the box when they save.
But my first thought would be whats the point? It will basically always be checked so what does the field really mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 12:59 PM - edited ‎01-23-2023 12:59 PM
Hi,
Yes you can make a checkbox kind of field also mandatory.
It depends on the usage, like if it is a user agreement kind of field that has to be checked in order to proceed then a boolean mandatory field is right choice. However if you just need the user to enter a response then I like to have a field.
How to make mandatory, best way would be to create a ui policy for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 01:00 PM
The Ui Policy does not work because the field always has a value. We need the value to be true in order to close out the work it could be false until then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 01:05 PM
What kind of field is it? Can you give a screenshot?
You can still write a Client scripts or a BR to validate that the field's value is True and then only proceed or throw an error otherwise.