- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 01:19 PM
Hi
I am getting below error when trying to submit a catalog form -
onSubmit() script error:TypeError: Cannot read properties of null (reading: 'document');
function() native code] }
The code snippet is below -
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 02:37 PM
For client scripts there is a check box called Isolate script. It is not on the form by default but in the case of your script it needs to be set to false. You can add it to the form or list layout to set it to false.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 02:37 PM
For client scripts there is a check box called Isolate script. It is not on the form by default but in the case of your script it needs to be set to false. You can add it to the form or list layout to set it to false.