Pop up form with url

Home Forums Quform WordPress Pop up form with url

This topic is: not resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29770
    chaosm
    Participant

    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 this

    Showing a popup form by clicking a WP menu item

    I 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

    #29777
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #29779
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #29780
    chaosm
    Participant

    Hi.
    Thanks for your reply. How do i modify the code to work also with the second form?
    For example, now i have two forms

    form-1
    and
    form-2

    and 2 menu id
    #menu-item-17322
    and i would build a new menu which will take a new id

    now 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?
    Thanks

    #29781
    chaosm
    Participant

    Also at the mobile menu, doesn’t seem to work.
    The id is the same

    #29796
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy