Latest version 5.4 breaking ajax form
-
Hello,
Before the latest version 5.4 below code is working fine for ajax content with contact form shortcode but in the latest version, it throws error Uncaught TypeError: wpcf7.initForm is not a function
$( 'div.wpcf7 > form' ).each( function() { var $form = $( this ); wpcf7.initForm( $form ); if ( wpcf7.cached ) { wpcf7.refill( $form ); } });
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Latest version 5.4 breaking ajax form’ is closed to new replies.