How to embed lightbox form to another form?

  • max123jot
    Asked on October 21, 2020 at 1:00 PM

    i think i am close,, but naturally, would appreciate your input.

    where do i put the code on the notepad icon in the below form to open a lightbox....

    specifically...

    i would like to place a lightbox slide on the form

    https://www.jotform.com/build/202154835689060


    i would like clicking the note icon to open the jotform as a lightbox slide

    https://form.jotform.com/60125570972152



    <script src ="https://form.jotform.com/static/feedback2.js" type="text/javascript"></script><script type="text/javascript">

        var JFL_60125570972152 = new JotformFeedback({

         formId: '60125570972152',

              base: 'https://form.jotform.com/',

         windowTitle: 'Message Contact Form',

         background: '#FFA500',

         fontColor: '#FFFFFF',

         type: 'false',

         height: 500,

         width: 700,

         openOnLoad: false

        });

      </script>

       <a class="btn lightbox-60125570972152" style="margin-top: 16px">

        contact neocirc

       </a>


  • KrisLei Jotform Support
    Replied on October 21, 2020 at 6:07 PM

    Hi,

    To my understanding, you would like to embed a form as a lightbox on another form, correct? However, it seems that the only way to embed a form on another form is through the iFrame Embed widget: How-to-Add-a-Widget-to-your-Form.

    Unfortunately, it's not possible to embed a script code inside a form. Alternatively, you can embed the forms on a website, one as a regular form, and the other as a lightbox form.

    Let us know if you need further assistance.


  • max123jot
    Replied on October 21, 2020 at 7:28 PM
    thanks
    worked
    ...