checkbox not getting selcted but list view shows exact value

surya76
Tera Contributor

i have some 5 checkboxes in form and they set to true base on some conditions of other fields.

sometimes the checkboxes are not getting checked even if the conditions met but for the same checkbox field the list view shows the correct data true/false.

why is this happening it is showing the database information correct but at form level it is showing wrong information

 

Give me some reasons?

Thanks 

9 REPLIES 9

Harshvardhan Lo
Tera Contributor

Hello Abhijit,
We are facing same issue, in list view values are true but when we open the form checkbox are not showing the checkmark. every checkbox in our instance(Tokyo) is not getting checked(Not showing checkmark), I tried by changing the color combination of theme but didn't reached to the solution. As per your suggestion I checked UI Policies and Client script .but didn't find anyhing.  
Can you please guide us on the same?

 

Thanks in Advance!

Click on show xml button on left corner of the page. If xml value of that field is different from the value on the form then it is getting set via UI policy or client script.

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Harshvardhan Lo
Tera Contributor

Hello Abhijit,
Thanks for feedback, XML value is same as list view value i.e. True

That means the actual value of that field in database is True. Somehow it is getting changed to false when you open form and that has to be either onLoad client script or UI policy. I don't think there would be any other reason.

 

Once check if default value has any impact on such behavior

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Harshvardhan Lo
Tera Contributor

any other way or suggestions?