Script Editor

Scripts can be created and used in forms.

  1. From the home page, click Configure and click Work Activity Templates.
  2. Click the All Forms tab.
  3. Search for the desired form. See Search Forms for more information.
  4. Click the Edit Form icon on the right of the form you want to edit.
  5. Click the Script Editor tab.
  6. To edit a script, click the edit icon on the script form you want to edit.

  1. Enter the script into the JavaScript editor panel.

Scripting uses the basic format below.

Copy
Scripting Format
{
    var result = {};
    result.data = {};
    result.result= "success";
    // Write the steps here. Implement what you want to do.
    return result;
}
  1. Click Save.