Pass Value to Another Form with URL Encoding

March 10, 2023

Sometimes you want to create a clickable link in your email alert, or a custom Thank You message that will automatically prefill your other form. The problem is that certain fields, like the Long Text Entry (Text Area), do not format the content the same way you originally submitted it.

For example, you submitted the following text in the long text entry.

Pass Value to Another Form with URL Encoding Image-1

But your form prefills the second form with the following.

Pass Value to Another Form with URL Encoding Image-2

As you can see, the long text entry fetches the texts, but they’re not pasted into a new line. To fix this, add URLENCODE: inside the unique name of the field that you want to encode its value.

For example, the unique name of the Long Text Entry field in your form is {description}, update it to {URLENCODE:description}.

So if you are to pass a value to another form, you can insert this as URL parameters.

https://www.jotform.com/21307841590451?description={URLENCODE:description}

If you want to learn more about prepopulating fields using URL parameters, check out these guides:

You can try making a submission using this form to see it in action.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • charlesknopf - Profile picture
  • SailCom - Profile picture
  • SailCom - Profile picture
  • rwaldenjr - Profile picture
  • Lanie Ezell - Profile picture
  • Gizmo - Profile picture
  • Smitha774 - Profile picture
  • slutzko - Profile picture
  • jennifer - Profile picture