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

    Is it possible to embed a form within a form?

    Asked by ywamharpenden on September 26, 2012 at 11:53 AM

    Hi

     

    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.


    Thanks

  • Profile Image
    JotForm Support

    Answered by EduardoMendez on September 26, 2012 at 12:09 PM

    @ywamharpenden

    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!

  • Profile Image

    Answered by ywamharpenden 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.

  • Profile Image

    Answered by pinoytech on September 26, 2012 at 12:22 PM

    Hi,

    Would you mind if we ask you to provide us your form url for further assistance?

    Thank you!

  • Profile Image

    Answered by ywamharpenden 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.

     

    http://form.jotformeu.com/form/22695160728358?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 26, 2012 at 01:10 PM

    @ywamharpenden

    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.

  • Profile Image

    Answered by ywamharpenden on September 26, 2012 at 01:23 PM

    Thanks that works great.