how to validate a field on condition?
Hi all,
I have a form with a dropdown menu and a text field.
The text field is disabled until I select a specific value from the dropdown menu.
When I select the right value in the dropdown menu, the text field gets enabled (I used jquery to handle enable/disable) and I need to validate it.
If it's disabled I don't have to validate it.
How can I validate the text field only if it's enabled?
TIA
tony