I have two radios:
US/Canada State
Outside US/Canada
One of these radios are required, whataver is chosen then for “US/Canada State” another field will be required that is a drop down list of states, if the latter is chosen then instead of that drop-down list another text field will be required to enter the state.
I can set required for each individual element, but about this case, how can I do this?
Here is a script that does what you want. It opens with the USA-Canada radio button selected and the list of States showing as a drop-down box. When you click the “Other Places” radio button the States list disappears and a text box is made visible to allow you to enter the country required.