Home › Forums › Quform WordPress › Make Submit Button Cause Pop-Up Form
- This topic has 6 replies, 2 voices, and was last updated 3 years, 3 months ago by Perb Pappertini.
- AuthorPosts
- August 16, 2021 at 7:43 pm #33253Perb PappertiniParticipant
Hello – How can I make QuForm’s send/submit button cause a QuForm pop-up? 🙂
August 17, 2021 at 10:36 am #33254AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 17, 2021 at 4:17 pm #33256Perb PappertiniParticipantHi Ally – I’d like to submit the form then show a pop-up. I followed the link you indicated and found this code:
jQuery(function ($) {
$(‘.quform-form-1’).on(‘quform:successStart’, function (e, form, confirmation) {
// Custom code
});
});But where do I insert that code in order to have my pop-up come up only on one particular form?
August 18, 2021 at 9:29 am #33267AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 18, 2021 at 4:47 pm #33279Perb PappertiniParticipantI’m mixed up – Help me a bit more and be patient with me? Here’s what I need:
– I need my submit button on form 2 to cause form 4 to pop-up.Here’s what I put in Custom Javascript:
jQuery(function ($) {
$(‘.quform-form-2’).on(‘quform:successStart’, function () {
$.fancybox({
href: ‘#form-submit-popup’
});
});
});Here’s what I put in an HTML field on form 4:
<div style=”display: none;”>
<div id=”form-submit-popup”>Content</div>
</div>How should I set the Confirmation on form 2? Nothing’s working. Please help! 🙂
August 19, 2021 at 9:46 am #33282AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 19, 2021 at 5:25 pm #33291Perb PappertiniParticipantPERFECT! Thank you!
- AuthorPosts
- You must be logged in to reply to this topic.