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

    How to Lightbox-embed one form inside another form

    Asked by exsfvid 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.

     

    Screenshot
    JotForm uploads create does not work
  • Profile Image
    JotForm Support

    Answered by Boris 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:

    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:

    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