[jQuery] (Bassistance validate) Require inputs based on dropdown select
Info:
- jquery-1.3.2
- jquery.validate-1.5.5
- form with 1 dropdown select and 4 text inputs
Setup:
- all 4 text fields are not initially required.
Issue:
The first input element is a required dropdown select.
If the user selects option 1, then text field 1 & 2 need to be
required.
If the user selects option 2, then text field 3 & 4 need to be
required.
How do code this?
Thanks in advance!
Also, I tried searching the groups first but couldn't find anything
that either worked are was close enough for me to tweak.