Entrance Function

Scripting studio showing an example of form script and the entrance function.

An Entrance function serves as the starting point in your script. For more on functions see Functions.

The Entrance function is associated with a form event in the Scripting Studio Tools and Settings options, see Events.

Note:

The Entrance function field value is the name of the function without parenthesis (or parameter, if used).

Entrance Function Type Parameter

The entrance function can optionally take a type parameter which will be passed one of:

The type value will be the same regardless of the form Event. For example, if you call your entrance function on “After save” when creating a new form you will still be passed a type value of ‘new’.