I need help setting the default value of a custom pre-populated drop down field based on the current URL.
I have a custom drop down field with all of the states. If I'm in the Texas or California section of my site, I would like to set the state field to default to current state.
My URL structure is setup as:
/us/tx/ ...or... /us/ca/
Basically I'm using the 2 letter state abbreviation for each state. I also have pages for each county within each state.
I want to set the default field of a custom drop down based off of the URL. I have a page created for each state and I want the fiel