I have a standard address form with a number of fields. e.g.
- Address line 1
- Address line 2
- Country
- State
- Postal code
The problem is that the "state" field should be a required field only when "country" is set to USA. If the country is set to anything else, then it should not be required. I could handle it in the controller but I'd like to do it on the client side unobtrusively. Any suggestions?