How to Lightbox-embed one form inside another form

  • exsfvid
    Asked on June 3, 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.

     

    How to Lightbox embed one form inside another form Image 1 Screenshot 20

    Jotform Thread 853182 Screenshot
  • Boris
    Replied on June 3, 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:

    https://widgets.jotform.com/app/iframe_embed

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

    https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

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

    How to Lightbox embed one form inside another form Image 1 Screenshot 20

    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:

    https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page