JavaScript events (also called "hooks") allow you to execute custom code at specific moments during interaction with the Form.
WARNING: The following settings require knowledge of JavaScript to be used. If the inserted code does not work properly, the entire functionality of the site may be affected.
Follow these steps to manage the JavaScript events of your Form:
1. Access the Form Management
Open the Form you want to modify.
2. Go to the "Javascript" Section
In the form editing wizard, click on the tab titled Javascript.
3. View the List of Events
In this section, you will find a list of available events (for example, onsubmit, onsuccess, etc.), each contained in a box.
4. Enable an Event (Hook)
- Locate the event you want to enable.
- In the event's box, click on the Enable button (blue).
- Once enabled, the box will become colored and a text area will open for entering custom JavaScript code.
5. Disable an Event (Hook)
- Locate the event you want to disable.
- In the event's box, click on the Disable button (red).
- The box will return to a neutral color, indicating that the event has been disabled and its associated JavaScript code will not be executed.
6. Save Changes
Proceed to the last step of the wizard and save the Form to apply the changes.







