- before_load() // Occurs before the form is loaded.
- before_submit() // Occurs before the form is submitted.
- before_reset() // Occurs before the field values are reset.
- after_submit() // Occurs after form is submitted and reloaded.
Furthermore, the plugin lets you write the script outside of these 3 functions, and execute it at a certain event. For instance, if a jQuery code is written inside
jQuery(document).ready() method, it will run after the page loads.