Support » Plugin: MC4WP: Mailchimp for WordPress » Modal Box Closes on Submission

  • Resolved SolutionsDEV

    (@solutionsdev)


    Hi,

    I read about this issue in another support post, I am posting here as it is a little different.

    I am using the Modal Box that comes with Porto theme, when the form is submitted, it refreshes the page, therefor the form Modal Box is closed, although any messages returned are still showing when it is re-opened.

    I have seen some suggestions, but my question here, if I have already done the form, how can I use inside CF7? A simple shortcode does have issues.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Lap

    (@lapzor)

    We recommend to use our Boxzilla plugin for popup boxes, it works very well with Mailchimp for WordPress forms.

    You could also go for the Premium add-on of Mailchimp for WordPress so you can enable Ajax submission, that way the page won’t reload and thus the box won’t close.

    Or else you can hook into the JS events of Mailchimp for WordPress and write your own JS code to re-open the box when needed: https://kb.mc4wp.com/javascript-form-events/

    Hope that helps. If you have any questions, please let us know!

    I have tried Boxzilla, it is a nice one, but it may be not the suitable one for me.

    Boxzilla supports automatic opening and not shortcodes.

    What I need is that when a user wants to signup, they click on a link which opens the Modal box and once submitted, the box does not close as it should get a message and keep it open for the visitor to see and then close the box manually.

    Although there is a suggestion to use CF7, but it is still complicated, I need it to use the Mailchimp for WordPress plugin to signup, this is not an addition to a contact form.

    On the other hand, you suggestion to use JS, may actually make thing not clear, in this case, would you be able to provide me with a code and tell me where to use to help me with this?
    Again, what I want is to keep the Modal Box open then manually closed or if the box is closed due to page refresh to reopen it in order to show messages.

    Thanks and regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modal Box Closes on Submission’ is closed to new replies.