Form embedded using lightbox opening blank.

  • reshapedesign
    Asked on February 15, 2017 at 9:35 AM

    We have used the lightbox a lot and all our other pages work well.  We have created a slightly longer lightbox and it doesn't seem to function well.  Take a look at :

     

    http://www.sollerweb.com/bonnielasstracey.html

     

    Click on either the link in the main body or the first link under HOW.

     

    The light box displays but doesn't populate - when you click X it then displays the info.

     

    The code in place is :

     

    <script src="https://form.jotformeu.com/static/feedback2.js?3.3.REV" type="text/javascript"> var JFL_70432867526360 = new JotformFeedback({ formId: '70432867526360', base: 'https://form.jotformeu.com/', windowTitle: 'Bonnie Lass / Morwenna RESERVATIONS & ENQUIRIES WEB', background: '#FFA500', fontColor: '#FFFFFF', type: 'false', height: 500, width: 700, openOnLoad: false }); </script> <a class="btn lightbox-70432867526360" style="cursor:pointer;" onDISABLEDmousedown="var that=this;_gaq.push(['_trackEvent', 'Outbound Links', 'bonnielass', 'contact form']);return false;"><h4><center> FREE CAVA - ONLY BY ENQUIRING/BOOKING DIRECTLY WITH SOLLERWEB <br/>Complete the form by clicking here to receive your complimentary bottle of cava onboard.</center></h4></a>

     

    Thanks for your help.

    Tracey

  • Mike_G JotForm Support
    Replied on February 15, 2017 at 11:43 AM

    Apologies for any inconvenience. Upon checking your website and clicking the link, I was able to reproduce the issue you are having. I will further investigate the issue and get back to you as soon as I found a resolution for your concern.

    Thank you.

     

  • Mike_G JotForm Support
    Replied on February 22, 2017 at 5:52 AM

    After further investigating, I found out that when you click any of the links, two forms will be opened and one of which is blank.

    Form embedded using lightbox opening blank Screenshot 20

    The probable reason for this is there are two same lightbox scripts added on your form and when you click any of the links, it will call both scripts.

    <script src="https://form.jotformeu.com/static/feedback2.js?3.3.REV" type="text/javascript"> var JFL_70432867526360 = new JotformFeedback({ formId: '70432867526360', base: 'https://form.jotformeu.com/', windowTitle: 'Bonnie Lass / Morwenna RESERVATIONS & ENQUIRIES WEB', background: '#FFA500', fontColor: '#FFFFFF', type: 'false', height: 500, width: 700, openOnLoad: false }); </script>

    What I suggest you do is remove one of the scripts which will have you two links only calling one script.

    Thank you.

  • reshapedesign
    Replied on February 22, 2017 at 4:46 PM
    Thanks Mike - that seems to work.
    Very appreciative of the help
    Best
    Tracey
    ...