What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I include ? and & within a parameter being passed in a URL

    Asked by NRCsupport on February 28, 2014 at 04:18 PM

    I am sending parameters to my thankyou page through the url, so I have something like [page address]?param1=string1&param2=string2&param3=string3

    But one of the strings is actually a similar url string that I want to pass on, so it will contain a question mark and some ampersands. Is there any way in which I can put this inner string into a form where the ? and & will not be treated as seperators by the receiver of the original parameters?

  • Profile Image
    JotForm Support

    Answered by TitusN on February 28, 2014 at 05:24 PM


    Your solution is quite structured - and yes - the apersand in the string might break the rest of the parameters that come after it...

    I would suggest the following:

    A.  Place the parameter with the URL with the ampersand at the very end of the thank you URL - its a simplistic approach - but it just might work

    B. Encode the URL as a variable:

    1. Create a field in the form,

    2. hide it

    3. Then place the URL with the ampersand as the default value

    4. Then use the field variable to pass it to the thank you URL:

    So your Thank You URL would looks something like this:


    I hope this helps.

  • Profile Image

    Answered by NRCsupport on March 04, 2014 at 09:14 AM


    I'm just looking into this again, but I was wondering, in your example above, what are the two paragraph placed one either side of "m2=string2"? Are they perhaps actually ampersands?

  • Profile Image
    JotForm Support

    Answered by TitusN on March 04, 2014 at 10:19 AM

    Nothing to worry about - the text-editing canvas changed my ampersand. Tried to edit the little rascals - no Joy...your example syntax is correct - let us know if you hit any bumps