Custom validation
-
Hi all, I am trying to do custom validation. I have two textBoxes. what I am trying to do is when user enter something in the first textBox then the Second TextBox need to be filled. Anohter word, if the first TextBox has a value then second textBox become required. other wise both textBoxes can be empty. how do I do it. Please help.
-
Hi all, I am trying to do custom validation. I have two textBoxes. what I am trying to do is when user enter something in the first textBox then the Second TextBox need to be filled. Anohter word, if the first TextBox has a value then second textBox become required. other wise both textBoxes can be empty. how do I do it. Please help.
http://msdn.microsoft.com/en-us/library/a0z2h4sw.aspx[^] Maybe this will help
Frazzle the name say's it all
-
Hi all, I am trying to do custom validation. I have two textBoxes. what I am trying to do is when user enter something in the first textBox then the Second TextBox need to be filled. Anohter word, if the first TextBox has a value then second textBox become required. other wise both textBoxes can be empty. how do I do it. Please help.
Hi, you can Create javascript function and inside that function you need to write code to enable requirefield validator which is used to check textbox2 needs to be filled. use onblur event to textbox control to call this javascript function. forget about using CustomValidator here. Hope this will help..
-
Hi, you can Create javascript function and inside that function you need to write code to enable requirefield validator which is used to check textbox2 needs to be filled. use onblur event to textbox control to call this javascript function. forget about using CustomValidator here. Hope this will help..