Is it possible to pass field value from one form to another form?

  • Profile Image
    fchanmigration
    Asked 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
    ashwin_d
    Answered 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!