-
mschmittAsked on September 28, 2015 at 1:41 PM
At the attached prepopulated URL, everything is correctly auto-filling except for the bold section below. Is the ampersand causing a problem?
http://form.jotformpro.com/form/52446564402958?description={ecrmGen=a3Ja0000000TVou&siteName=AT&T%20-%206301%20BIXBY%20RD,%20CANAL%20WINCHESTER,%20OH%20(L34119)&siteAddress=6301%20BIXBY%20RD&address2=&city=CANAL%20WINCHESTER&state69=OH&zip75=43110&genLocation=back%20of%20building&generatorName=&generatorMake53=Spectrum%20Detroit%20Diesel&generatorModel=400DS60&generatorSerial=339411&generatorRated50=400&fuelType=Diesel&engineMake54=&engineModel=&engineSerial=&engineManufacture=&engineOutput=0&engineOutput38=}
-
CharlieReplied on September 28, 2015 at 2:14 PM
Hi,
If you use the hard coded ampersand/"&", it tells the URL that you are adding another parameter on it. The field name and values are separated by "&". If you want to add an "&" in the actual prepopulated value, you need to use the converted ASCII element of it. In this case, "&" = "%26"
Here's a reference: http://www.w3schools.com/tags/ref_urlencode.asp
This is how the URL should look like, assuming you are only referring to "AT&T" value:
http://form.jotformpro.com/form/52446564402958?description={ecrmGen=a3Ja0000000TVou&siteName=AT%26T%20-%206301%20BIXBY%20RD,%20CANAL%20WINCHESTER,%20OH%20(L34119)&siteAddress=6301%20BIXBY%20RD&address2=&city=CANAL%20WINCHESTER&state69=OH&zip75=43110&genLocation=back%20of%20building&generatorName=&generatorMake53=Spectrum%20Detroit%20Diesel&generatorModel=400DS60&generatorSerial=339411&generatorRated50=400&fuelType=Diesel&engineMake54=&engineModel=&engineSerial=&engineManufacture=&engineOutput=0&engineOutput38=}
If there are some missing values, let us know. You can also refer to this guide about prepopulating form URL:
mschmittReplied on September 28, 2015 at 2:52 PMThat answers my question, thanks!
BenReplied on September 28, 2015 at 3:19 PMIn my colleague's name you are welcome.
Do let us know if you have any further questions and we would be happy to assist with them.