Pass Value to Another Form with URL Encoding

September 15, 2021

You sometimes would like to create a clickable link in your email alert or custom Thank You message that will automatically prefill your next form. The problem is, some other fields like the textarea do not properly format the content on how it was submitted.

You might have submitted a form with a value in the text area as:

345×114 
345×114 

Pass Form Data With URL Encoding Part 1

But after it was passed on to the next form, it looked like this:

Pass Form Data With URL Encoding Part 2

To fix this, add URLENCODE: prefix inside the field tag variable that you want to encode its value. In our case, the field name of our text area field is “Description”, it has a field name tag {description}.

{description} 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: https://www.jotform.com/21307841590451

Questions? Please let us know in the comment box below!

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: