now what i want to do is make sure that if they type something into fname, lname also has a value in it. This is where my problem starts. I am using custom validator methods so in my validation.xml i have something like this
basically what i want to do is when i send the fname property to my validateNames method, i want to know which index i am current validating (fname or fname .....). that way i can check teh correpsonding index in the lname field to see if its NULL or not and validate accordingly. maybe using the <var> tag is not what i want to do and there is a way inside the validating method to pull that index out im not sure.
can someone please help me with this??
subject: validation for multiple dependency arrays