- Documentation
- User Application
- Templates
- Configuration
Javascript
The Javascript sub-tab of the Configuration tab has a code editor for your own JavaScript code, which runs in the form.
The Javascript sub-tab is shown only when custom JavaScript is included in your organization’s plan, and the code runs in the form only then.
The disclaimer in the template editor
Section titled “The disclaimer in the template editor”The sub-tab shows this disclaimer under the code editor:
- Be advised that applying modification may impact our ability to serve consistent and fluent experience, please use it wisely.
- Before applying to production make sure that form functions correctly and error console shows no errors.
If you must keep custom code in a template until you replace it:
- Before you publish the template, check that the form works correctly and that the browser console shows no errors.
- Use plain (native) JavaScript, and don’t load scripts from other websites.
- Don’t read or send personal data from the form.
Use built-in features instead
Section titled “Use built-in features instead”| To | Use |
|---|---|
| Check a value before the form is submitted | The field’s validation settings, for example Regex Validation. See Text fields and Field settings. |
| Show, hide or require fields by the values of other fields | Dependencies. |
| Calculate or copy values | Conditional values and the Formula Builder. |
| Fill fields from, or send data to, another system | Connectors. |
| Change the look of the form | Design and the Stylesheet. |