Home › Forums › Quform WordPress › Closing Pop-up on Form Submit › Reply To: Closing Pop-up on Form Submit
April 21, 2021 at 9:01 am #32856
giannip
Participant
Thanks 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();
});
});