• Resolved zudie

    (@zudie)


    We have a popup showing to have people sign up for our newsletter. Once someone has submitted that form the popup should not show anymore, but this is not working.

    After successful submission the user is redirected to a thank you page. Once they go to another page in the site the popup shows up again. This should not happen.

    As far as I know, I have configured as directed in this page: https://docs.wppopupmaker.com/article/523-trigger-form-submission

    • This topic was modified 4 months, 2 weeks ago by zudie. Reason: added screenshot
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    Your trigger and cookie settings look good! However, since you set the confirmation to redirect to a new page right after form submission in Gravity Forms, Popup Maker doesn’t have enough time to create the cookie.

    The close popup/set cookie events only get triggered if they stay on the page long enough. You would need to use the confirmation message option, or if you still want to redirect to a page, check the box to disable auto-formatting and add something like below:

    <script>setTimeout(function () {window.location = "https://redirect.url/page";}, 300);</script>

    We created a demo to illustrate here: https://share.getcloudapp.com/NQu5RxqA

    Hope this helps! Let us know if you have more questions.

    Thread Starter zudie

    (@zudie)

    Hi, thanks for the quick reply. This does work, but it shows the popup quite ugly after the form submission. Would it be able to set the correct cookie in the template for my Thank you page instead?

    If so, could you give me some example code on how to do that?

    Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    Thanks for the response.

    Do you mean you’re still seeing the popup after the form submission and the design is affected? Could you send us more details about that?

    Would it be able to set the correct cookie in the template for my Thank you page instead?

    You can only set a cookie within your popup settings.

    We’ll wait for your response!

    Thread Starter zudie

    (@zudie)

    Please see this video.

    https://jumpshare.com/s/JUvYRa70dzAaGE7LB3oA

    at 27-28 secs you’ll see how the popup shows ugly because the form foes not display anymore

    Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    Thanks for the video!

    Do you happen to have a caching plugin active? If yes, please try clearing the cache.

    If the issue persists, please send us a link where we can check this popup directly.

    You can send us a ticket if you want to share more information privately.

    We’ll wait for your email!

    Thread Starter zudie

    (@zudie)

    Clearing the cache does not make a difference.

    Here is the link: https://stephenambrosetours.com/site/why-saht/

    Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    We tested your form and we’re able to see your popups properly.

    See our test here: https://share.zight.com/Wnu89yJL

    We noticed the popup opening up a second time after submission. Since you’re already redirecting, could you try checking the option “Disable automatic re-triggering of popup after non-ajax form submission.” in your popup settings > Advanced?

    See here: https://share.zight.com/4gu8vK28

    Let us know how it goes. ??

    Thread Starter zudie

    (@zudie)

    In your video I see the same ugliness as I see: at the 0:15 mark. Also see screenshot: https://snipboard.io/rw61x5.jpg

    I have added the setting that you requested, even though I do not see the use of it since our form DOES use Ajax.

    I do not like how the popup shrinks and shows ugly after form submission.

    Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    Thanks for the response. We now understand what you mean. ??

    Unfortunately, it’s a side-effect of using the confirmation message code to give time for the cookie to set. The cookie is created once the form is submitted, however, when Gravity Forms is set to redirect, it never triggers a success event. ??

    We hope for your understanding. Let us know if you have other questions.

    Thread Starter zudie

    (@zudie)

    OK, too bad…

    I have now given the confirmation text a transparent color through css so it is not so ugly.

    Plugin Support Kim L

    (@kimmyx)

    Hi @zudie,

    Thanks for the response and we’re glad you found a solution. ??

    We’re going to mark this thread as resolved now. Feel free to create a new thread if you have new questions! ??

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