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 do I pass values to an EMBEDDED form

    Asked by PinkIguana on April 28, 2017 at 09:17 PM

    I am trying to pass values from form 1 to form 2, but form 2 is embedded in a webpage. So what is the URL sturcture? I know how to pass values between forms, but it is different when the second form is embedded. For example, the if the form is on a page called http://abc.com/page I do not know how to access the form itself. Is it http://abc.com/page_name/[form_id] ???

    Can someone pls answer my question without sending me to documentation on the site that doesn't answer my question? Below is the last answer I was given, which is not what I was asking about. I need to know how to address or access a form that is EMBEDDED in a custom Thank You page (ie, like http://abc.com/thank-you/).

     

    Answered by jonathan

     

    You must be referring to the method described on our user guide: 

    https://www.jotform.com/help/164-Pass-Value-to-Another-Form-with-URL-Encoding

    Let us know if you need further assistance.

  • Profile Image
    JotForm Support

    Answered by Chriistian on April 29, 2017 at 12:32 AM

    May we know what embed method you have used for your form? I checked the site links (http://abc.go.com/thank-you/) and (http://abc.go.com/page) but I did not found the second form so that I may able to know what embed method you have used.

    To pass the data from one form to another form, please refer to this guide: https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form. But you need first to know how to prepopulate fields using the URL parameters to be able to pass the data from one form to another form. Please refer to this guide on Prepopulating Fields to Your JotForm via URL Parameters.

    Next, if the second form is embedded on the web page, for example, the embed method used is iFrame method, then you can just use URL parameter directly on the embedded form URL.

    Example:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/71146686584972?&name=Test" frameborder="0" style="width:100%; height:465px; border:none;" scrolling="no"></iframe>

    Where the higlightned form link is the prepopulated form.

    If you need further assistance, please let us know.
    Regards.