Plugin Support
Kim L
(@kimmyx)
Hi @juvee,
Closing after form submission only works with form plugins that integrate with Popup Maker.
See here: Popup Maker Integration with WordPress Form Builder Plugins
However, you may try the solution offered here: Close Popup and Create Cookie When a Form is Submitted
Cookies control the repeated display of a popup. To learn how to add a cookie with a trigger, please see: ‘Cookies’ option settings
Hope that helps! Let us know if you have more questions.
Thread Starter
juvee
(@juvee)
That I did, and added the code, but what it only changes is that the form dissapears after 5 seconds and after refresh the form still displays.
-
This reply was modified 2 years, 4 months ago by
juvee.
Plugin Support
Kim L
(@kimmyx)
Hi @juvee,
Thanks for the response. Is your trigger linked to the cookie you set up?
For example: https://share.zight.com/4guXJ4X8
Let us know how it goes. 🙏
Thread Starter
juvee
(@juvee)
Yes, Type is set to auto open after 0 ms, the trigger is manual with same cookie, and the js code is changed to that popmake number. Is there some kind of video tutorial to so I can follow it to make it work? What I need:
1) Add hubspot form, after success it redirect to other page (could be even the same one, but without form displaying based on cookie.
How can I achieve the above?
Plugin Support
Kim L
(@kimmyx)
Hi @juvee,
We currently don’t have a video tutorial for this code.
Cookies take a few seconds to create.
If you’re redirecting after form submission, set it to a few seconds (ideal is about 3-5 seconds) so that your cookie has enough time to created.
Do you have a public page where we can test this popup?
We’ll wait for your response.