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

    Pass values to url in autoresponder no good as url encoding reference %20 not used for spaces

    Asked by markashton on January 10, 2012 at 06:18 AM


    I'm passing field values into a url string in an autoresponder (this can then be clicked to prefill a subsequent form).

    However, I note that the resulting url string is usually broken, especiialy if two words aare used e.g.

    How did you hear about us = Cold Call

    That gap in between Cold Call causes a break in the url.

    The problem .....

    URLs can only be sent over the Internet using the ASCII character-set.
    Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format.
    URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

    Can you advise me on whether i can get this to work without having to put all my dropdown options as ....


    many thanks

    Regards Mark 

  • Profile Image
    JotForm Support

    Answered by abajan on January 10, 2012 at 01:54 PM

    About a year ago, I posted a query about a similar problem I had had while trying to pass strings containing spaces, in URLs. The trick is to prepend the variable in the problem tag with URLENCODE:. So, substituting the tag {URLENCODE:howDid} for {howDid} should solve the problem in the form in question (knock wood). If it doesn't, do let us know.

  • Profile Image

    Answered by markashton on January 10, 2012 at 02:26 PM

    Genius ;)

  • Profile Image
    JotForm Support

    Answered by abajan on January 10, 2012 at 03:05 PM

    Thanks but much as I would like to take the credit for this solution, it really belongs to our Lead Developer Serkan.

    Glad it worked.

    (Incidentally, you might also find this thread to be of interest.)


    Cheers :)