Make a True/False field required

Ruth Goodsell1
Tera Contributor

Is there a way to required a true/false field to be true in order to close a record?

16 REPLIES 16

DrewW
Mega Sage
Mega Sage

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?

 

Anurag Tripathi
Mega Patron
Mega Patron

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.

-Anurag

Ruth Goodsell1
Tera Contributor

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.  

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.

-Anurag