Users submitting Record Producer thorough ipad/mobile unable to create tickets


Description

When a user is submitting a record producer through iPad or Mobile, the tickets are not getting created as expected.

Release or Environment

All

Cause

The issue might is due to an onSubmit client script containing unsupported methods or API's in Service Portal/Mobile versions

The script is using the below:

top.window.onbeforeunload = null;
top.window.onunload = null;

Resolution

Please review the methods used in the script as Service Portal or similar environments do not support all client script types/API's like in the desktop version.

Here is documentation with supported client script types and API's in the portal:
https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/build/service-portal/reference/client-script-reference.html