Enable client scripts for the mobile browser

Define client scripts to run on forms on the mobile interface, the desktop UI, or both.

  1. On a desktop, navigate to System Definition > Client Scripts.
  2. Create a client script that is compatible with the mobile interface. To ensure compatibility, see Mobile client GlideForm (g form) scripting and migration.
  3. In the UI Type field, select Mobile/Service Portal or All to have the script run on the mobile interface.
    Note: Configure the form to add the UI Type field.
  4. Fill in the fields, as appropriate.
  5. Click Submit.
    Client script with the mobile UI type selected