How to Lightbox-embed one form inside another form

  • Profile Image
    Asked on June 03, 2016 at 11:11 AM

    What should I copy the widget code pop up?


    Jotform team, I'm trying to create a lightbox and copy the code in the text tool <>, but it does not work.

    It will be because I copy a widget or made in some other way, if I can show through a gif image would be spectacular.


    Thank you.


  • Profile Image
    Answered on June 03, 2016 at 12:25 PM

    It looks like you are trying to add a Lightbox embed script of one form, into another form. Unfortunately, this is not supported, as you cannot add any type of custom scripts into your forms.

    Since the Lightbox code is a script (code inside <script> and </script> tags), it is automatically removed from your Jotform form when you try to place it inside a Text field.

    The only way to embed one form into another is to use our Iframe Embed widget:

    This guide will help you with adding the widget to your form:

    Inside the Iframe Embed widget, you should place the direct link to the form which you are trying to embed:

    This is the only currently supported way of embedding one form into another. Depending on your exact needs, you may instead want to use a Thank You page redirect, and redirect your users to the second form when they submit the first form: