Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1455

communicate forminator hook with javascript

$
0
0

Replies: 3

Hello,

I use forminator hook to customize my form submission like

add_action(‘forminator_custom_form_submit_before_set_fields’, ‘handle_upload_file’, 10, 3);

function handle_upload_file($entry, $form_id, $form_data_array) {
// here I want to communicate client side to open swal popup

// i do some traitements

// I send the progress information to my popup

// i continue my traitement

// I send the progress information

// i continue the last step

// i ask to close popup
}

How can I communicate javascript with my hook

Best regards,

Sana


Viewing all articles
Browse latest Browse all 1455

Trending Articles