checkbox not getting selcted but list view shows exact value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 03:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 02:29 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 03:22 AM
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.
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 03:47 AM
Hello Abhijit,
Thanks for feedback, XML value is same as list view value i.e. True
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 04:40 AM
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
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 03:48 AM
any other way or suggestions?