I have a WordPress site and i use a cf7 form to make a booking enquiry. When the form is submitted an email is send to my info@.. and also a custom php file i made is passing data from the form to a CRM platform.

I use JS on_mail_sent action and i capture all the values of the form and im passing it to the php file via query (.php?id=id&……).

I want to ask if this method is acceptable or i must use another method. For example is there any way certain browsers for some reasons dont support javascript?

Thank you.

Read more here: ContactForm 7 and javascript to capture form data


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: