JavaScript Code screen

Lets you configure custom JavaScript for an app or eForm.

Figure: JavaScript Code screen

JavaScript Code screen

Video: eForm Builder Interface

Good to Know

  • If you create a new version of an application, and change shared JavaScript or CSS at the application level, when you publish the new version, the changed shared JavaScript or CSS files apply to all versions of the application, including all previously published versions, and all application instances.

    This rule does not apply to custom JavaScripts and CSS created in an eForm. If you want to use different versions of JavaScript or CSS for different versions of an application, you can specify the scripts in your eForms, instead of specifying them at the application level.

How to Start

  1. Open eForm Builder.

    For information about how to open this screen, refer to eForm Builder screen.


    Eform Builder screen
  2. On the eForm Builder screen, click JS > Shared JavaScript.

    Click Shared JavaScript
  3. On the Shared Form JS screen, click Add.

    Click Add
  4. On the JavaScript screen, configure as necessary.

    Create JavaScript screen
  5. Click Next.

Fields

Field NameDefinition

Form JavaScript

Function:
Specifies the JavaScript functions for your eForm.
Accepted Values:
A JavaScript code snippet with no file headers.
Default Value:
None
Example:
Refer to: