I added a text field for County which users have been using for a while now. I should have made it a select field. Users are spelling counties wrong… who would have guessed?
The users usually write the county like Lexington, but there’s no consistency. I want to change what they type to lowercase via strtolower($the_county).
In the new select field, I added all the county choices lowercase like ‘lexington’.
So, my question: How can I modify the value of a meta key so that when piklist renders the select field it will use ‘lexington’ instead of ‘Lexington’ so that a match will happen.
Basically, I don’t want users to have to go back and update all their counties.