Home › Forums › Quform WordPress › Closing Pop-up on Form Submit
- This topic has 7 replies, 2 voices, and was last updated 3 years, 7 months ago by Ally.
- AuthorPosts
- January 5, 2018 at 7:49 pm #23723elpaulliParticipant
I would like to be able to close the form on submit. So the form would pop-up, and then once it is completed instead of showing a message or re-directing, I would like it to close the pop-up window.
Is that possible. I have searched the forum, but I am might not be searching for the right string of words.
Or it if it could close the window the form is in. That way I could call to a id or a class, and on-submit it would close that id or class.
Thanks
January 10, 2018 at 11:58 am #23787AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 10, 2018 at 5:27 pm #23801elpaulliParticipantThanks that worked! Took me a while to figured which version I was using – However, is there a way now to make the pop-up load automatically when the page does?
Right now I am using the form in a third party pop-up to gate the page.
So I would like to just use the pop-up feature built into the Quform.
Thanks,
EricJanuary 11, 2018 at 11:16 am #23822AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 26, 2018 at 5:38 pm #24115ArsenParticipantHow can I add a timeout on popup close.
I use the script above, but it closes popup immediately, can i set some timeout?
Thank you!February 1, 2018 at 12:52 pm #24181AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 21, 2021 at 9:01 am #32856giannipParticipantThanks a lot, it works!
Can you add a delay 2000ms to the following code?
jQuery(document).ready(function ($) {
$('.quform-form-1').on('quform:successStart', function () {
$('.fancybox-close').click();
});
});April 21, 2021 at 10:22 am #32863AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.