I have a form defined using Moose, with two select fields: One for country and one for state/province. I've populated the country with options using a sub (options_country_id), but the state/province options depend on what one selects in the country field. I can't figure out how to get the value selected in the country field into my sub so I can display the proper options in the state/province select field.
I thought I had seen how this is done in the HTML::FormHandler docs, but after a couple hours of looking, I can't find it.
I would be grateful for your help.