How to: Add UK Counties to Gravity Forms Predefined Choices

4th October 2017

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:


Leave a Reply

Despite the fact that I am a dinosaur when it comes to technology you had the patience to see me through to being able to give you the text and pictures, which you then turned into a really good finished article. I have had many emails from people who have seen it, all of whom have congratulated me on the website. But the congratulations really relate to your work.

Mike Mackenzie