Validate a script page


Validate a script to spot and correct any errors. For example, if an input field requires a default value, but it has no value, validation reports the error.

  1. Click Admin.

  2. Under Contact Center, click Scripts.

  3. Click the name of a script to open it in script editor.

  4. Click the Page tab.

    select-pages-tab

  5. Click the Validation tab. 

    select-validation-tab

    Note: If the Validation tab has a red badge, one or more errors exist in the script.
    red_validation_error_icon2

    If there are no errors, the list of errors is empty.

    no_validation_errors2

    Otherwise, the list indicates errors detected in the script, with an explanation of each error on the current page, and the count of validation errors detected on other pages. If you click the name of another page, that page is loaded in the editor.

    found_validation_errors2

    In this example, the image source property of an image control on the current page has not been set. In addition, there is an error on Page 2. Clicking Page 2 loads that page into the editor. By selecting the validation tab again, you can view details of the error on that page.

  6. Click an error message to select the component that it applies to.

    The error description indicates how to correct each problem. You can correct most errors by assigning or modifying a property of the selected component.

  7. After correcting a problem, click the Validation icon again until you resolve all issues.