When a catalog item has an onSubmit Catalog client script, and Applies on Requested Items or Applies on Catalog Tasks is checked, depending on whether you are viewing RITM or Catalog Task, if you open the browser console, you will see an error saying "g_sc_form is not defined."
Steps to Reproduce
Navigate to Service Catalog > Catalog Administration > Catalog Client Scripts.
Click New to create a new Catalog client script with the following values:
Applies to: A Catalog Item
Active = true
Type = onSubmit
Catalog Item = For example, Adobe Acrobat Pro
Check Applies on Requested Items and Applies on Catalog Tasks
Uncheck the option Applies on a Catalog Item View"
Navigate to Service Catalog > Maintain Items.
In the Name column, search for "contains Adobe and locate Adobe Acrobat Pro , then select that item.
Once loaded, click Try It.
Click Order Now.
Open your browser console (dev tools for Chrome).
Click the "Create, edit or convert PDF files" hyperlink, which takes you to the RITM.
Note the error "Uncaught ReferenceError: g_sc_form is not defined".
Click the generated task.
Note the same error.
If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.
Related Problem: PRB1259149