1. Home
  2. Docs
  3. Multi-Purpose Form Generator
  4. Forms
  5. Form Callback functions

Form Callback functions

Form Submitted callback:

Function: mpfg_form_submitted
This function is called after the form is validated as valid & before the request is sent to the form-generator server for saving the data in the database.

function mpfg_form_submitted(form_id, form_data){

        //write you code here

This function will log the form id & form data.

You can define this function inside them Additional JS tab in forms.

Was this article helpful to you? Yes No