Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

TRUE/FALSE box be mandatory

asd22
Tera Contributor

asd22_0-1762422103719.png


How can i make this true/false mandatory?
i tried to edit it but there was no options for it.

asd22_1-1762422142129.png

 

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@asd22 

True/False field will always have either true/false value by default.

So it means it has some value and hence you can't make it mandatory

This is OOTB behavior and handled by this OOTB UI policy

When Type is True/False the Mandatory field will be hidden

AnkurBawiskar_0-1762428842518.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@asd22 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Misgana D Dauro
Tera Guru

Hi @asd22 ,

 

Assuming that you are trying to make the field mandatory for everyone and not on any condition, I suggest you try the table record itself, since the mandatory field in a True/False field is hidden as per an OOB configuration. 

  1. Open the table configuration from a record or list.
  2. Find the columns related list (usually the first related list).
  3. Expose the Mandatory column for the Columns related list 

MisganaDDauro_0-1762430183078.png

      4. You should be able to set the Mandatory value to true for the field you are looking for right from the list itself.

MisganaDDauro_1-1762430303597.png

 

If my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.

 

Kind regards

Misgana D.

Gaurav Vaze
Kilo Sage

As correctly stated by @Ankur Bawiskar 
the checkbox will always have some value associated with
if you intend to capture yes or no for the Confirm Number, and have it mandatory
I suggest you to make Confirm Number as Choice, where choices will be Yes and No
and make sure to have Dropdoesn with None
then you can make it Mandatory and your goal will be achieved
thanks
Gaurav Vaze
ServiceNow Developer