- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 06:26 AM - edited 10-25-2022 06:27 AM
I have an error message that sudent appears on my publication form, cannot identify why. The error in question is
"onChange script error: TypeError: Cannot read properties of null (reading 'up') function () { [native code] }"
Please Help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 06:32 AM
Hello,
This occurs when one of you on change client script is unable to read any field on the form. Check which onchnage client script is causing the issue, then in the script of you have any field which the script is not bale to read maybe because the field is not available on the form.
You can read a support article for a similar issue:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0856441
Please mark my answer as correct based on Impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 06:51 AM
Hello,
There should be one client script defined onchange of Product type field. Validate if the script has any errors, potentially there should be undefined variable name or you might not be getting value from in the variable from which you are reading values.
It would be helpful if you can post the client script here for validation.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 06:32 AM
Hello,
This occurs when one of you on change client script is unable to read any field on the form. Check which onchnage client script is causing the issue, then in the script of you have any field which the script is not bale to read maybe because the field is not available on the form.
You can read a support article for a similar issue:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0856441
Please mark my answer as correct based on Impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 06:51 AM
Hello,
There should be one client script defined onchange of Product type field. Validate if the script has any errors, potentially there should be undefined variable name or you might not be getting value from in the variable from which you are reading values.
It would be helpful if you can post the client script here for validation.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 09:17 PM
The onchange event occurs when the value of an element has been changed. For radiobuttons and checkboxes, the onchange event occurs when the checked state has been changed.
Regards,
Rachel Gomez