Home › Forums › Quform WordPress › Pop up form with url
- This topic has 5 replies, 2 voices, and was last updated 4 years, 7 months ago by Ally.
- AuthorPosts
- August 7, 2019 at 2:11 pm #29770chaosmParticipant
Hi.
I posted this
“Hi. How could i trigger a pop form from menu? When someone clicks on menus to pop ups the form? Thanks”
And you reply to check thisI followed the tutorial but pop up doesn’t appear. Also i have 2 forms for 2 different languages. The id’s are 1 and 2
How will work for 2 different forms.
The id of menu will change for the other language.Thanks
August 9, 2019 at 10:58 am #29777AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 9, 2019 at 12:21 pm #29779AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 9, 2019 at 2:08 pm #29780chaosmParticipantHi.
Thanks for your reply. How do i modify the code to work also with the second form?
For example, now i have two formsform-1
and
form-2and 2 menu id
#menu-item-17322
and i would build a new menu which will take a new idnow i use this
add_action(‘wp_footer’, function () {
if (!class_exists(‘Quform’)) {
return;
}echo do_shortcode(‘[quform_popup id="1"]‘);
?>
<script>
jQuery(function ($) {
$(‘#menu-item-17322’).click(function () {
$(‘.quform-popup-link-1’).click();
return false;
});
});
</script>
<?php
});how could i add the second form and link with the new menu?
ThanksAugust 9, 2019 at 3:09 pm #29781chaosmParticipantAlso at the mobile menu, doesn’t seem to work.
The id is the sameAugust 13, 2019 at 10:10 am #29796AllySupport 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.