|
-
July 17th, 2006, 05:02 PM
#1
Multiple validation on the click of the submit button
Hi all,
I am trying to validate the multiple controls, on click of the next button on the ASP Page. (Next Button is the server control).
In the validation of the multiple controls for example 3 textboxes
The user can enter the value in one text box or in two or in all of them or in none of them.
I want to validate, whether the user has entered the value in atleast one of them. And if yes, then only it should go to save the data and move to next page.
I have tried adding the javascript through add.attribute, it works but it goes for saving the data into the database and moves to next page.
I tried the customValidator control, but it doesnt work.
Can anybody help me in this? I am stuck with this and cant move ahead.
Any help will be appreciated.
Thank You
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|