JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to Lightbox-embed one form inside another formAsked 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.
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: