What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Trouble with competing lightboxes

    Asked by ketotherapeutics on December 13, 2012 at 01:00 PM

    I have several pages that open to the same jotform. One of the pages has a videolighbox that opens to a Youtube video. When I added the Jotform code to that page it knocked out the videolighbox and when the link is chosen opens the Youtube site with the video on it. I want the page to give me the lightboxed video when the user selects that link and the lightboxed Jotform when selecting that link.

    Page URL:
    http://www.ketotherapeutics.com-thecodeforJotFormatRequestMoreInfo&quo<br/>t;picturelink&quot;isremoved

  • Profile Image
    JotForm Support

    Answered by idarktech on December 13, 2012 at 01:50 PM

    Hi,

    They might be having conflict that's why they can't work together. Try removing number "2" on the source URL found on your lightbox embed code. Example.

    <script src="//max.jotfor.ms/min/g=feedback2" type="text/javascript">
    new JotformFeedback({
    formId:'21357249698871',
    base:'http://jotform.co/',
    windowTitle:'Cool Contact Form',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:false,
    height:500,
    width:700
    });
    </script>
    See if this makes differences. Thanks!
  • Profile Image
    JotForm Support

    Answered by idarktech on December 13, 2012 at 03:36 PM

    Hello there!

    Sorry but your reply didn't come through, can you please post it here instead? Thanks!

    http://www.jotform.com/answers/156852-Trouble-with-competing-lightboxes#2

  • Profile Image

    Answered by ketotherapeutics on December 13, 2012 at 07:36 PM

    Idarktech, thank you so much, it worked! I don't fully understand why but perhaps the embedded "2" in the code for the JotForm was conflicting with the "watch 2" statement for the code for the embedded video. Whatever it was, you came up with the right solution.

  • Profile Image
    JotForm Support

    Answered by idarktech on December 13, 2012 at 08:46 PM

    @ketotherapeutics

    http://max.jotfor.ms/min/g=feedback uses prototype version so it may help to avoid jQuery conflicts. The other one, with "2" uses jQuery. Thanks!