• Resolved godavid33

    (@godavid33)


    Hello,

    I’m seeing some weirdness with the popup and I have determined it’s because the content is not freshly pulled when it opens. In theory, this is a good way to do it because the popup opens faster and doesn’t have to wait for a load or wp-ajax call or anything. On the other hand, when you try to put login or AJAX forms in the popup, the user has to completely refresh the page in order to fix any errors or clear any content.

    In case the above doesn’t make sense, try this:

    1. Create a popup with a form in it
    2. Open the form and fill it out (don’t submit it)
    3. Close the popup
    4. Re-open the popup

    you will notice the fields are still filled. Is there a way to completely refresh the content of the popup dynamically?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear @godavid33,

    Our popup doesn’t use WordPress functions for loading the forms inside of it, like wp-ajax call.

    The forms of our Popup Maker (subscription and contact form) work as you described, the fields are not filled when you close and re-open the form.

    Could you, please, share a URL where we can see this issue live?
    Also, please, share the email you have used for registering in Popup Maker service.

    I have this same problem with a different popup plugin (boxzilla).

    I am looking for a solution, but for now it’s a big problem. I have conditional fields in my popup that stop working when the popup is closed and reopened, so some of the fields remain hidden regardless of how the form is filled.

    Does anyone have a workaround? Have you found a solution?

    I found a workaround. I put the form onto a blank page, and have the page content load within the popup using an object tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to reload content on popup open?’ is closed to new replies.