Support » Plugin: Contact Form 7 Signature Addon » Signature canvas not working on popup

  • Resolved DewaSurya

    (@suryawijaya-1)


    Hi.. This is a great plugin that i’ve been looking for..
    However I got an issue when loading the contact form on popup.

    The signature form is working well if i just put the contact form shortcode on the body. But when I put it on button that trigger a popup, the signature is not accessible

    Please see the link https://villabugis.com/villarama-inhouseguest
    You can see the signature works well on the bottom of the page, but please try to click on “redeem” button, it will call out a popup with contact form on it. and the signature doesn’t work..

    Please kindly help to solve the issue..

    Thank you,
    Surya

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tameroski

    (@tameroski)

    Hi,

    Signatures on the page are initialized on document ready, so the one in your popup (which only comes on click) is not.

    You have to do it by calling the init method in your magnific popup callback. Add this to your theme and it should be ok :

    $('.open-popup-link').on('mfpOpen', function(e) {
      $('div.wpcf7 > form').wpcf7InitSignatures();
    });
    DewaSurya

    (@suryawijaya-1)

    Hi,
    Thank you so much for your reply.
    I have tried to put the script on my function theme or in the page, but doesn’t work
    Sorry I am not a really advance for scripting yet.
    Could you please guide me where and how should I write your additional script?
    Thank you..

    DewaSurya

    (@suryawijaya-1)

    Hi.. Sorry I figured it out already!!!
    Thank you!! Like anyone else said.. A great support! You deserve 5 stars!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Signature canvas not working on popup’ is closed to new replies.