Embeding a lightbox form within a jotform

  • Profile Image
    Asked on March 09, 2012 at 05:05 PM

    On our "new interactive form" I am trying to make the quote request process less confusing to our customers. Unfortunately our users have no idea how to use their computers, let alone describe a bathroom to us.

    To combat this I have started to create a new form and using a combination of html fields to blend this form with our new landing design. At the moment I need to get the code figured out before creating images.

    I will be creating descriptive image tiles to act as video icon buttons. I would like for each of these tiles to open a lightbox with a youtube video. I have tried to embed another jotform within this one to achieve this, but it does not work. What do I need to do to launch these?

  • Profile Image
    Answered on March 09, 2012 at 06:14 PM

    Its quite difficult to work out exactly what you are trying to do here. 

    But you won't be able to open a JotForm lightbox form from a JotForm form unless you embed the 'parent' forms full source code onto your webpage. 

    Its should be relatively straightforward for there to just add lightbox code to open the relevant forms. 

  • Profile Image
    Answered on March 09, 2012 at 06:43 PM

    Alternatively, you may try with pop-up window. Please check the following example:


    I have added the following code to the Free Text (HTML) field.

    <a target="_blank" href="javascript:void( window.open('http://form.jotformeu.com/form/20686301248350', 'blank','scrollbars=yes,toolbar=no,width=610,height=400'))"><img src="https://cms.jotform.com/uploads/image_upload/image_upload/Mike_T/4987_1.png" /></a>

    We will try to deal with the padding in your other thread.