Prepopulated form - do ampersands work?

  • Profile Image
    Asked on September 28, 2015 at 01:41 PM

    At the attached prepopulated URL, everything is correctly auto-filling except for the bold section below. Is the ampersand causing a problem?



  • Profile Image
    Answered on September 28, 2015 at 02:14 PM


    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:

    This is how the URL should look like, assuming you are only referring to "AT&T" value:{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: 

    I hope that helps.

  • Profile Image
    Answered on September 28, 2015 at 02:52 PM

    That answers my question, thanks!

  • Profile Image
    Answered on September 28, 2015 at 03:19 PM

    In 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.