Default value for True/False field

carlocsa
Kilo Expert

Hi ServiceNow Gurus,

How can I set a True/False field (checkbox)  to true (checked) by default on load?

Thank you very much.

Carlo 

1 ACCEPTED SOLUTION

Excellent!!!!!!!!!!!!

close the thread. So this helps other customers to learn from your thread by marking as correct answer.

 

thank you.

View solution in original post

7 REPLIES 7

Archana Reddy2
Tera Guru

Hi,

Go to Configure dictionary, under Default Value tab, give the value as true.

Mark as Helpful if you find so.

Thanks,

Chappidi Archana

carlocsa
Kilo Expert

I was able to resolve this. In the UI Action, I used this line of code:

 

current.u_field_a = true;

Excellent!!!!!!!!!!!!

close the thread. So this helps other customers to learn from your thread by marking as correct answer.

 

thank you.