Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Change UK Counties List

Paul Scarrott shared this idea 6 months ago
Under Consideration

The UK counties (state) list is currently totally wrong. It includes loads of towns, cities and boroughs, and misses out several counties. It is useless right now and requires us to overwrite the StatesDropdown.js file every time WHMCS is updated.

We accept that the UK county system is inconsistent and there isn't 100% agreement on the exact list of counties. However, all UK users can agree that places like Wokingham, Swindon, Dudley and Waltham Forest are categorically not counties.

The list should be changed to the following. I believe this would cover basically everyone, and would be a vast improvement on the current list:

states['GB'] = ["Aberdeenshire","Angus","Antrim","Argyll and Bute","Armagh","Ayrshire","Avon","Banffshire","Bath and North East Somerset","Bedfordshire","Berkshire","Berwickshire","Blaenau Gwent","Borders","Bridgend","Bristol","Buckinghamshire","Caerphilly","Caithness","Cambridgeshire","Cardiff","Carmarthenshire","Ceredigion","Channel Islands","Cheshire","Clackmannanshire","Conwy","Cornwall","County Durham","Cumbria","Denbighshire","Derbyshire","Devon","Dorset","Down","Dumfries and Galloway","Dunbartonshire","East Ayrshire","East Dunbartonshire","East Lothian","East Renfrewshire","East Riding of Yorkshire","East Sussex","Essex","Fermanagh","Fife","Flintshire","Gloucestershire","Greater London","Greater Manchester","Gwynedd","Hampshire","Herefordshire","Hertfordshire","Highland","Inverclyde","Isle of Anglesey","Isle of Wight","Isles of Scilly","Kent","Kincardineshire","Lanarkshire","Lancashire","Leicestershire","Lincolnshire","Londonderry","Merseyside","Merthyr Tydfil","Midlothian","Monmouthshire","Moray","Neath Port Talbot","Newport","Norfolk","Northamptonshire","North Ayrshire","North Lanarkshire","North Somerset","Northumberland","North Yorkshire","Nottinghamshire","Orkney","Oxfordshire","Pembrokeshire","Perth and Kinross","Powys","Renfrewshire","Rhondda Cynon Taff","Rutland","Shetland","Shropshire","Somerset","South Ayrshire","South Gloucestershire","South Lanarkshire","South Yorkshire","Staffordshire","Stirlingshire","Suffolk","Surrey","Swansea","Torfaen","Tyne and Wear","Tyrone","Vale of Glamorgan","Warwickshire","West Dunbartonshire","Western Isles","West Lothian","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire","Wrexham","end"];

Comments (2)

photo
1

Hi Paul,

Thanks for providing this suggested list. Is it based on an official source?

photo
1

Unfortunately, there is no official, accurate source that I am aware of that would be relevant for these purposes. The difficulty is that there are multiple different versions of the Counties, used for different purposes. Traditional/ceremonial counties, Metropolitan areas, borough councils, postal counties, etc.

The list is based on information that can be found at https://en.wikipedia.org/wiki/List_of_counties_of_the_United_Kingdom. It is based on the most recent listings for each of the UK regions (England, Scotland, Wales and NI). It includes a couple of places that are not listed on that page (particularly the South Wales counties which were formed from the break up of Glamorgan).

It is not a 'perfect' list, as there is no such thing. However, it is many times more accurate and useful than the current list, which is flat out wrong by any definition. In fact, the list should be slightly revised, to remove Avon and to add City of London (supplied below). I think if this can be implemented it would be much more useful. If you aren't willing to change this, I would strongly recommend removing the drop down list altogether and just allowing people to enter this manually, as that would be much less confusing for people.

states['GB'] = ["Aberdeenshire","Angus","Antrim","Argyll and Bute","Armagh","Ayrshire","Banffshire","Bath and North East Somerset","Bedfordshire","Berkshire","Berwickshire","Blaenau Gwent","Borders","Bridgend","Bristol","Buckinghamshire","Caerphilly","Caithness","Cambridgeshire","Cardiff","Carmarthenshire","Ceredigion","Channel Islands","Cheshire","City of London","Clackmannanshire","Conwy","Cornwall","County Durham","Cumbria","Denbighshire","Derbyshire","Devon","Dorset","Down","Dumfries and Galloway","Dunbartonshire","East Ayrshire","East Dunbartonshire","East Lothian","East Renfrewshire","East Riding of Yorkshire","East Sussex","Essex","Fermanagh","Fife","Flintshire","Gloucestershire","Greater London","Greater Manchester","Gwynedd","Hampshire","Herefordshire","Hertfordshire","Highland","Inverclyde","Isle of Anglesey","Isle of Wight","Isles of Scilly","Kent","Kincardineshire","Lanarkshire","Lancashire","Leicestershire","Lincolnshire","Londonderry","Merseyside","Merthyr Tydfil","Midlothian","Monmouthshire","Moray","Neath Port Talbot","Newport","Norfolk","Northamptonshire","North Ayrshire","North Lanarkshire","North Somerset","Northumberland","North Yorkshire","Nottinghamshire","Orkney","Oxfordshire","Pembrokeshire","Perth and Kinross","Powys","Renfrewshire","Rhondda Cynon Taff","Rutland","Shetland","Shropshire","Somerset","South Ayrshire","South Gloucestershire","South Lanarkshire","South Yorkshire","Staffordshire","Stirlingshire","Suffolk","Surrey","Swansea","Torfaen","Tyne and Wear","Tyrone","Vale of Glamorgan","Warwickshire","West Dunbartonshire","Western Isles","West Lothian","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire","Wrexham","end"];