1
Answer

validating two textboxes

shaik mastan

shaik mastan

12y
1.5k
1
Hi,

I have two textboxes named txtage and txtnomineeage.now i want to validate depend on the age of first textbox(txtage).If txtage is less than 18yrs then txtnomineeage is mandatory.And one more thing txtnomineeage always greater than txtage.Plz help me.I want either javascript or jquery or validating controls code.
Thanks in advance
Answers (1)
0
Sukesh Marla

Sukesh Marla

NA 11.8k 1.2m 12y
Use CustomValidator as ClientValidate Function

you will find custom validator sample here..

http://www.c-sharpcorner.com/UploadFile/SukeshMarla/Asp-Net-validation-control/

Check this is correct answer if it helped.