Enable RequiredFieldValidator if TextBox is not empty
can you help me with this simple problem of mine in asp.net,
I have 3 textboxes; Txt1 Txt2 txt3
If txt1 is not empty, txt2 and txt3 requiredvalidator should be enabled.
if txt1 is empty, txt2 and txt3 requiredvalidator should not be enabled,
Here's the requirement, once txt1 has a value, txt2 and txt3 should be a
required field.
can someone help me with this??
Thank you so much.
No comments:
Post a Comment