Issue
Symptoms
Error message activating validation scripts with UI type Mobile/Service Portal
Error MessageonSubmit script error: ReferenceError: g_ui_scripts is not defined:
function () { [native code] }
Release
Any release
Cause
Two separate out of box validation scripts called "Scripts (Plain) with UI Type: Desktop and Mobile/Service Portal need to be present in the instance
Resolution
In order to resolve this issue. Upload both the out of box validation scripts attached to this knowledge article. Ensure that there are two validation scripts called "Scripts (Plain)" with UI type "Desktop" and "mobile/Service Portal".