How to: Add UK Counties to Gravity Forms Predefined Choices

4th October 2017

How to: Add UK Counties to Gravity Forms Predefined Choices

Out of the box Gravity forms gives you the ability to add a predefined list of Countries, Continents, US States and Canadian Territories to your field, but for a recent project I needed an alphabetised list of UK counties. This is just a quick snippet I put together to achieve that.

Simply add this code to functions.php in your theme:

I knew the moment I spoke to Jo that she was the right person to transfer our website over to a content management system.  We were looking for someone who combined a really good technical knowledge of WordPress with a keen eye for design, and Jo provided just that.  She was fast, thorough and incredibly straightforward in her approach and nothing was too much trouble.  The training Jo delivered as part of the job was clear and thorough too.  Thank you, Jo, for a fantastic job!

(Tessa Lamb (Business Language Training))