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

Abhijit4
Mega Sage

There must be something which is executing on load of the form. It could be either client script or UI policy which is resetting those values when you open form.

Please have a look at on load client scripts or UI policies where onLoad checkbox is checked that might resolve your issue.

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Regards,
Abhijit
Community Rising Star 2022

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

surya76
Tera Contributor

it is not happening for all records it just occured twice

Those on Load script might be executing based on some conditions

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

If my answer helped you to resolve your issue then please mark appropriate answer as Correct or Helpful based on the impact so that others can also gets benefited from this in future.

If you still have any concern please let me know.

Regards,
Abhijit
Community Rising Star 2022

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