Xstore Theme Contact Form 7 Not Working in Popup

This topic has 7 replies, 2 voices, and was last updated 2 years, 12 months ago ago by Trupti

  • Avatar: Trupti
    Trupti
    Participant
    December 23, 2021 at 14:20

    Hello 8theme Guys,

    I am using your pro theme for our store. I used newsletter popup with contact for m 7. But getting issue on form submit its redirect on blank page even I used WP FORM but still same issue. I reviewed theme requirement with server all are matched so could you please help me. this few days I am trying to solve but not working.

    Hope you guys help me this my critical issue.

    Thank you.

    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 23, 2021 at 14:27

    Hello,

    It seems that Contact form is not compatible with the popups. We have already asked about this issue https://wordpress.org/support/topic/contact-form-in-the-popup/ but plugin author did not reply. You may post question about this again on their support forum, maybe they will answer you with anything helpful.

    Regards

    Avatar: Trupti
    Trupti
    Participant
    December 23, 2021 at 15:00

    So which form working with popup for contact us, I mean its general concept like any end user try to contact for offer via popup like any discount compare to newsletter so better you can help me solve this frustration issue. its same issue for all for not like CF7 its for gravity form and Wp Form lite. in short ajax function not load on popup. so could you please let me know any temporary solution so I can make happy to my client. event popup maker plugin not working with Xstore theme from admin not loading any setting I not used any major plugin so its break.
    Hope you guys give more valuable solution for popup special. Please see on popup I see on other popup like bootsrap model its working but not working in theme its theme issue.

    I think its one year ago issue repeat here. so please take a focus on it. also please without solution not close this ticket as solved.

    Thank you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 23, 2021 at 16:00

    Hello,

    We use Ajax to load the popup content. It means that popup content is not in page HTML structure once page is loaded. Probably Contact form 7 and gravity form requires the form content in the page HTML structure from start to call the necessary scripts.
    What compatibility issues did you face with the popup maker plugin? Does it work ok on your site with the default theme? Explain the compatibility issues of the popup maker in more detail (maybe send us screenshots) and provide us with WP Dashboard and FTP access to your site.

    Regards

    Avatar: Trupti
    Trupti
    Participant
    December 23, 2021 at 17:27

    Forgot for now popup maker I disable it. I want to Contact form 7 working on popup or Wp Form as you wish suggest. its compulsory need to resolve could you please send any script solution so its help me just need to work ajax on form submit.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 24, 2021 at 15:06

    Hello,

    Install Insert Script In Headers And Footers plugin and add the below code to Scripts in Footer area

    <script>$(document).on('et_ajax_popup_loaded', function(){
    	$('.et-popup-wrapper form.wpcf7-form').each(function() {
    		var action = $(this).attr('action');
    		action = action.substring(action.indexOf('#'));
    		$(this).attr('action', action);
    		wpcf7.initForm($(this));
    	});
    });</script>

    Try form after that.

    Regards

    Avatar: Trupti
    Trupti
    Participant
    December 24, 2021 at 16:17

    Hello Guys, I have added script as per your suggest direction. and Its working fine. Thank you so much for your cool snippet.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Xstore Theme Contact Form 7 Not Working in Popup’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.