JS WPCF7 form submission
-
Hi all,
how can I submit a WPCF7 form using JS?
I already wrote:function onSubmitForm() { var formsVec = document.querySelectorAll('.wpcf7-form'); formsVec[0].submit(); }
, but the problem is that it triggers a non AJAX submission and I get “non AJAX” validation handling.
I would like to execute exactly the same action as standard submit button does.How to do this?
- The topic ‘JS WPCF7 form submission’ is closed to new replies.