Answer the question
In order to leave comments, you need to log in
How to change button text in CF7 plugin?
Contact Form Plugin - Contact Form 7 It is
necessary that when the form is successfully submitted, the button text changes from "submit" to "sent". How to implement?
Here is the successful send event:
var wpcf7Elm = document.querySelector( '.wpcf7' );
wpcf7Elm.addEventListener( 'wpcf7submit', function( event ) {
//что тут?
}, false );
Answer the question
In order to leave comments, you need to log in
Look in the documentation for information on the request: "cf7 dom events"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question