FORM method
-
Hi, I am developing a web site in ASP. The problem is simple. In the Login page I am displaying two text box for UserID and password respectively. One Submit button and one reset button. Once User enters his ID and Password, User has to click the submit button. On the FORM's action method I am providing another asp page. But before request is send to server I want to valid the data entered in the text boxes when User clicks submit button. How can I do that? Every thing will come to you if you have faith.
-
Hi, I am developing a web site in ASP. The problem is simple. In the Login page I am displaying two text box for UserID and password respectively. One Submit button and one reset button. Once User enters his ID and Password, User has to click the submit button. On the FORM's action method I am providing another asp page. But before request is send to server I want to valid the data entered in the text boxes when User clicks submit button. How can I do that? Every thing will come to you if you have faith.
In doValidate(), since you have the form itself being passed as reference [note the this argument], you can validate the elements and return true/false as appropriate. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
Hi, I am developing a web site in ASP. The problem is simple. In the Login page I am displaying two text box for UserID and password respectively. One Submit button and one reset button. Once User enters his ID and Password, User has to click the submit button. On the FORM's action method I am providing another asp page. But before request is send to server I want to valid the data entered in the text boxes when User clicks submit button. How can I do that? Every thing will come to you if you have faith.