Why is Lightbox form opening twice?

  • Profile Image
    pmgibson
    Asked on April 30, 2012 at 12:43 PM

    Hello All. I have used JotForms on many other sites without any problems but for some reason, the links to a specific forms on the page below are causing me issues. The link seems to open a blank form over the correct one - so it's opening two lightboxes.

    http://www.eastsussexfalconry.co.uk/buy-a-falconry-experience/

    Any ideas anyone? I've followed instructions in regards to having more than one link on the same page to the same form, but this has not solved the problem.

    Thanks

    Paul

  • Profile Image
    Goldo
    Answered on April 30, 2012 at 02:11 PM

    Try calling the script just one time. Try the below set up.

    <script src="//jotformeu.com/min/g=feedback2" type="text/javascript">
    new JotformFeedback({
    formId:'21154387045350',
    base:'http://jotformeu.com/',
    windowTitle:'East Sussex Falconry Purchase',
    background:'#00427a',
    fontColor:'#FFFFFF',
    type:false,
    height:500,
    width:700
    });
    </script>

    <a class="lightbox-21154387045350" style="cursor:pointer;color:blue;text-decoration:underline;">Buy this Online Now1</a>

    You can insert anything here...

    <a class="lightbox-21154387045350" style="cursor:pointer;color:blue;text-decoration:underline;">Buy this Online Now2</a>

    You can insert anything here...

    <a class="lightbox-21154387045350" style="cursor:pointer;color:blue;text-decoration:underline;">Buy this Online Now3</a>


    See if that helps.

  • Profile Image
    pmgibson
    Answered on April 30, 2012 at 02:44 PM

    Hi there. Thanks for your reply. I've tried that set-up and now it all works now. So, the trick is, is to make sure the three links are not identical? I've given each link a different title as above and now it all works it seems.

    Many thanks

  • Profile Image
    pinoytech
    Answered on April 30, 2012 at 02:45 PM

    In behalf of my colleague Goldo, your're welcome and feel free to contact us anytime if you need further assistance.