validation

Aug 22 2014 8:37 AM
hi guys 
iam having one Date of Birth  TextBox,if we enter date of birth , we have to give gurdian/Parent  name in case of Minors . 
while doing validation  if the date of birth is less than 18 then only gurdian/Parent name field is mandatory field
other wise it is not mandatory field . 
how to do that .
thanks in advance  .
 

Answers (1)