- barqAsked on September 13, 2012 at 10:53 AMHow does can I make this work with filled that include a slash:This doesn't work for instancewww.jotformeu.com/form/22554204210337?whatAre64=Freelancer/Independent Contractor Position&country26=Denmark&This doesn't work either:www.jotformeu.com/form/22554204210337?whatAre64=Freelancer/Independent Contractor Position&country26=Denmark&
This is a re-post of a comment on Prepopulating Fields to Your JotForm via URL Parameters
- JotForm SupportidarktechAnswered on September 13, 2012 at 11:57 AM
This link seems to be working fine here: http://www.jotformeu.com/form/22554204210337?whatAre64=Freelancer/Independent%20Contractor%20Position&country26=Denmark
It prepopulates the two fields. Tested it on different browsers, FF, IE8 and Chrome.
Can you recheck if the problem still persist? May we also know the browser information where this link doesn't work?
- barqAnswered on September 13, 2012 at 11:59 AM
Seriously, that is weird. It works now in the same browser where it didn't work before...Well, thanks for letting me know :)
- barqAnswered on September 13, 2012 at 12:09 PM
Aaaahh, now I know why. When posting the link here it changed. %20, replaced the spaces and otger character, making it work.
Any idea, how I can fix the link like it happened now, without posting to the forum here? I'm on a Mac
I'm sure this would work:
Update: It still doesn't work.
- JotForm SupportNeilVicenteAnswered on September 13, 2012 at 12:17 PM
The link works fine on my end as well, even if I use a slash. But you can try replacing such characters with their URL encoded counterparts.
For a forward slash, it is %2F.
- barqAnswered on September 13, 2012 at 12:19 PM
How about this:
www.jotformeu.com/form/22554204210337?whatAre64=Freelancer/Independent Contractor Position&country26=Denmark&working=Remotely, with us.&inWhich22=Copenhagen (GMT +02:00)&accordingTo=Your timezone&InternetConnection109=Less than 1 Mbit&InternetConnection127=Less than 512 Kbit
I've tried URL Encoding it too - still doesn't work :-/
- JotForm SupportidarktechAnswered on September 13, 2012 at 02:57 PM
Tested it several times but can't get it working. It doesn't seem to work with comma "," and period ".". Already used the encoded character values but the same thing.
Unfortunately, I don't know if there's any available workaround for this. What I can suggest is to use hyphen "-" on some of your field values. You can differentiate the working symbols in my example here: http://www.jotform.me/form/22565280922454?working=Remotely%20with%20us&working192=Remotely%2C%20with%20us%2E&working193=Remotely%20-%20with%20us
Thanks for your cooperation. We greatly appreciate it.
- barqAnswered on September 17, 2012 at 06:43 AM
Thanks for the help! I tried more about without any luck, so I went with dashes instead like in your example 3. I have another issue though. I can't seem to set the Timezone automatically using this URL:
I see that all time zones are grouped under a section (eg. Europe). Should I refer to the Time Zone in another way?
- fxrAnswered on September 17, 2012 at 06:08 PM
I dont see a Timezone field in your form.
Have you removed it?
- barqAnswered on September 18, 2012 at 03:40 AM
Thanks for the answer. Yes, it's still there. However you have to fill out the first page and push "Next Page" to see it.
- JotForm SupportidarktechAnswered on September 18, 2012 at 05:18 AM
Unfortunately it wont work. Maybe because of the special character values. I don't know if there's a possible solution for this. Hope my other colleague's will be able to help you with this, if there's any. I'm thinking of downloading your form source code and edit each timezone values but that's going to be tedious and a HUGE work. :)
- fxrAnswered on September 18, 2012 at 06:24 AM
This works -> http://www.jotformeu.com/form/22554204210337?whatAre64=Freelancer/Independent%20Contractor%20Position&country26=Denmark&working=Remotely%20-%20with%20us.&inWhich22=Copenhagen+%28GMT%2B02%3A00%29
Get the string of the timezone that you want to use from the forms/pages source code:
Use this page to encode the URL = http://www.w3schools.com/tags/ref_urlencode.asp
You should be able to then construct a URL encoded URL to populate the Timezone field of your form.
- barqAnswered on September 18, 2012 at 07:06 AM
That's perfect it works! I actually tried with three different URL Encoders without any luck, always using the value field like you suggested. So I'm surprised it works now.
Thanks a lot for your help!
Update: For anybody interested, now I understand the reason why it works now. It's because the paranthesises weren't encoded with the URL encoders I tried. But now it works perfectly with the paranthesises encoded! Thanks again!
- fxrAnswered on September 18, 2012 at 07:22 AM
Ah yes, thanks barq.
I couldnt quite work out why one URL encoder worked and not another.. I think there is some difference if URL encoding for server side scripts or for client side scripts ( i.e one needs the brackets encoded and the other does not, but please dont quote me on that!)
Anyway, happy we got to the bottom of this rather interesting conundrum between us.