varanasi has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Formhandler Options For One Select Field Depend On Another
by Don Coyote (Hermit) on Feb 07, 2019 at 19:52 UTC |