Support » Plugin: Contact Form 7 » 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 1 replies (of 1 total)
  • iamwpuserormaybenot


    I had problems too. Got an error with wpcf7 and multistep form together said that: wp-admin/admin-ajax.php?action=cf7mls_validation server 500. Debugged down to latest update and then made rollback to 5.3 and it worked again. Please fix 5.4, it’s frustrating when auto-updates are on and clients can’t contact.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.