Form Submit Warning

When the user submits a form, and the form has validation warnings, fire the below event.

window._mp.safeExecute('evFormSubmitWarning', function() {
    eedl('mp_form_submit_warning', {
        form_name: 'name of your form',
        warning_type: 'server | client',
        more_data: {
         // fields which have missing data
        }
    });
});

Last updated