- ywamharpendenAsked on September 26, 2012 at 11:53 AM
I am wanting to know if it's possible to embed a form within a form. We have an application form for our training courses with many pages and at one section we need our applicants to send a reference form to someone. We are using the send to a friend autoresponder setup and have this open in a new page from a link. Is there a way that we can embed this within our current form either through an embed code or by building it into our form? As a note we have three of these references in the application form.
- JotForm SupportEduardoMendezAnswered on September 26, 2012 at 12:09 PM
The answer to your question is yes. It is possible to embed a form within a form.
You can do this by using the "Free HTML" field on the form. Within this field, you can embed Reports or Other forms. Simply paste the code inside the HTML field.
A good suggestion would be using iFrame embed code. Here is a guide on how to find this code.
One thing to keep in mind when embeding a form within a form is the "Submit" actions of a form.
The inner form can not gather any data from the outer form. Nor the submission of the outer form gather any data from the submission of the inner form. They are separate and will produce different submissions/reports.
Another thing to keep in mind is the redirection once a form is submitted.
You can test it out and let us know if you need any assistance!
- ywamharpendenAnswered on September 26, 2012 at 12:19 PM
Thanks for the quick response.
I tried this and found it stripped out the html when trying this. I tried both iframe and the normal embed code.
- pinoytechAnswered on September 26, 2012 at 12:22 PM
Would you mind if we ask you to provide us your form url for further assistance?
- ywamharpendenAnswered on September 26, 2012 at 12:49 PM
I've duplicated a form and put the html section with where I could embed a form just below the name. We would normally have it in a section quite a few pages deep.
- JotForm SupportNeilVicenteAnswered on September 26, 2012 at 01:10 PM
Use the plain HTML editor instead of the WYSIWYG one to paste the codes for your reference form to the Free Text module.
1. Select your Free Text module
2. Click the HTML button found at the toolbar
3. Paste in your reference form's embed codes
4. Click OK
5. Save your form
Quick note: your reference form must NOT use a custom URL for its thank you page (leave it at default) as it will cause the browser to redirect to that page, overtaking your main form.
- ywamharpendenAnswered on September 26, 2012 at 01:23 PM
Thanks that works great.