Pass Value to Another Form with URL Encoding

Last Update: March 17, 2016

You sometimes would like to create a clickable link in your e-mail alert or Custom Thank You message that will automatically prefill your next form. The problem is, some other fields like text area does not properly format the content on how it was submitted.


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



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



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}.

Example: 

{description} to {URLENCODE:description}

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

http://form.jotform.me/form/21307841590451?description={URLENCODE:description}

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

Prepopulating fields to your JotForm via URL parameters

How to automatically pass form data to another form? 


You can try making a submission using this form to see it in action:  http://form.jotform.me/form/21307841590451


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


4 Comments...


   
jennifer (July 29, 2012 at 11:46 PM)

I am wanting my PDF file to be a link that people can click and have it pop up. What steps do I need to do to make my file pop up after clicking the link?

View Answer


   
slutzko (November 29, 2012 at 07:43 AM)

I want to imput a URL that can be clicked to open a page of rules, terms and conditions

View Answer


   
Smitha774 (June 16, 2014 at 04:10 PM)

Right now it looks like WordPress is the top blogging platform available right now. from what I've read Is that what you're using on your blog? cedfdeedeebedkfb

View Answer


   
Gizmo (October 19, 2014 at 09:14 PM)

Hi,


http:///window=name

This opens up a pop up window textarea to enter text

However, is it possible to pass in the string to textarea via the URL

Something like: http:///window=name&text="foo"

View Answer


Send Comment