Special Characters in Prepopulated Links

  • mschmitt
    Asked on October 8, 2015 at 10:13 AM

    I have a number of prepopulated links, some of which have a field filled with "#2 Fuel Oil (Diesel)." In the links that have the '#' symbol, that field and the prepopulated ones that follow all show up as blank, but in the other links without '#' all the fields work. I think the special character is messing up the links - is there a special code I can replace it with that will allow the links to work properly?

    I've included a sample link.

  • Charlie
    Replied on October 8, 2015 at 1:23 PM

    Hi,

    You can use this link as a reference for the special characters: http://www.w3schools.com/tags/ref_urlencode.asp.

    For the "#", the URL encode to avoid stripping it would be %23

    Here's an example: https://form.jotform.com/52805047761961?special=%232%20Fuel%20Oil%20(Diesel)

    It will prepopulate the text box the value "#2 Fuel Oil (Diesel)."

    Do let us know if that helps.

  • mschmitt
    Replied on October 8, 2015 at 3:25 PM

    This is exactly what I was looking for, thank you

  • Charlie
    Replied on October 8, 2015 at 4:40 PM

    Glad to hear that it helped. Should you need any assistance again, feel free to contact us anytime.

    Thank you :)