Pass Value to Another Form with URL Encoding

April 28, 2022

You sometimes 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 some other fields like the Long Text Entry (Text Area) do not properly format the content on how you originally submitted it.

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

But your form prefills the second form with the following.

As you can see, the long text entry fetches the texts, but they’re not 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 these guides:

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

Was this guide helpful?
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
  • SailCom
  • SailCom
  • rwaldenjr
  • Lanie Ezell
  • Gizmo
  • Smitha774
  • slutzko
  • jennifer