Is it possible to change the order of the countries on the drop down menu on my form?

  • swindells
    Asked on September 13, 2017 at 4:41 AM

    Hello,  have a fully customised form.

    I want to put the UK up the top of the drop down menu as most of my customers are from there. Is this possible?

     

  • Charlie
    Replied on September 13, 2017 at 5:23 AM

    Hi,

    Are you referring to the address field in your form? Unfortunately, the order of the options in the country field cannot be changed, however, you can add a default option if most of the users are in UK. You can find that option in the Properties page of the address field.

    Is it possible to change the order of the countries on the drop down menu on my form? Image 1 Screenshot 20

    If that does not work, then the next option is to have a separate drop down field and manually list all the countries and set the order you want from there.

    I hope that helps. 

  • swindells
    Replied on September 13, 2017 at 5:36 AM

    Hi Charlie,

    Thank you for your help. I changed the form to a default country as you suggested on the form builder itself. However my form works by editing a code and then uploading directly to my web host so its a bit more complicated. I'm not sure where to locate the default country option on the code, guess it's not that simple. 

  • liyam
    Replied on September 13, 2017 at 8:08 AM

    As you have used the full HTML source placed on your page, you will need to edit the orderform.html file

    Once opened using an editor, you can press CTRL+F and search for this:

        <option value=""

    Once you find a match, remove the selected attributed in it:

        <option value="" selected> Please Select </option>

    Next, press CTRL+F again and look for United Kingdom. You should find this part: 

        <option value="United Kingdom"> United Kingdom </option>

    Next, insert selected in the <option> tag; so it should appear like this:

        <option value="United Kingdom" selected> United Kingdom </option>

    Lastly, save your form and upload the HTML file again to your webhost.

    If you have additional questions or if you need assistance, please let us know.

  • swindells
    Replied on September 13, 2017 at 12:32 PM

    Brilliant! Thank you so much for explaining it so clearly, that worked perfectly.