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 pass field value from one form to another form?

    Asked by fchanmigration on January 27, 2015 at 06:23 AM

    Is it possible to pass a reference number from the main form (document review) to the payment form? 

    I want to be able to connect the main form submission to the payment form submission and using a reference number would help this.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 27, 2015 at 09:08 AM

    Hello fchanmigration,

    Yes it is possible to populate your field of payment forms with the value of main form field by taking advantage of our "URL Parameter" feature. Here are the steps you should follow:

    1. Generate your payment form URL with parameter to pre-populate the reference number field. The following guide should help you:  http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters

    Say you get the following URL: http://www.jotform.com/form/xxxxxxxxxx?referenceNumber=123456

    2. You need to now get the field name of the reference number field of main form and replace the default value in the URL above with the field name

    Example: If the field name of reference number field is {referenceNumber} then your URL should be:  http://www.jotform.com/form/xxxxxxxxxx?referenceNumber={referenceNumber}

    3. Use this URL in the "Custom URL" of the thank you option. The following guide should help you:  https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

    There is a similar guide which you may like to take a look but it populates the payment question instead of text box field. The following guide should help you:  http://www.jotform.com/help/270-How-to-Pass-a-Calculated-Value-in-a-Paypal-Field-of-a-Second-Form 

    Hope this helps. Do get back to us if you have any questions.

    Thank you!