Scripts
Scripts let you attach custom JavaScript logic to your form at key points in its lifecycle — such as when the form first loads. They are written directly in the Form Builder and execute automatically when the relevant event occurs.
Scripts run inside your users' browsers — use with care
When a script executes, it runs directly inside the web browser of whoever is viewing the form — the same environment that the entire S-Launch application runs in. This gives scripts a high degree of power: they can read and modify the form, interact with the browser, access the user's active session, and make requests to external services.
That power comes with real responsibility. A script that contains errors, unintended logic, or malicious code can disrupt the form experience, interfere with the wider application, expose sensitive session data, or perform actions on behalf of the logged-in user without their knowledge.
Significans Automation does not review, audit, or take responsibility for scripts written and deployed by platform administrators. You are solely responsible for the behaviour and consequences of any scripts added to your forms. Treat scripts with the same caution you would apply to any code running on your organisation's systems — only deploy scripts you have written yourself or fully trust, and avoid copying scripts from unknown or unverified sources.
On Load
Runs once after the form finishes rendering. Use this for pre-filling fields, setting runtime state, or loading data.
The on-load script is a JavaScript expression executed in the context of the loaded form. It has access to the form's field values, the current user, runtime variables, and a set of built-in helpers.
Field Accessors
Documentation coming soon.
Data Helpers
Documentation coming soon.
Variable Access
Documentation coming soon.
Repetitive Grid Row Context
Documentation coming soon.
Repetitive Grid Row Controls
Documentation coming soon.
Repetitive Grid Aggregates
Documentation coming soon.
Built-ins
Documentation coming soon.
