Problem in ASP Validation
-
Hi all, I am facing a problem in ASP project. Can anyone plz help me with validation of an html page. I want to validate the fields on an html page and then submit the details in the database. I am able to add the details to the database. But if any of the field remains empty, then that particular column remains empty in the database. I am also able to display a message on the neext screen, if the user clicks on Submit. I want a message to be popped up at the screen itself. I urgently need some help...Plz let me know. Thanks in advance Regards, Shraddha
-
Hi all, I am facing a problem in ASP project. Can anyone plz help me with validation of an html page. I want to validate the fields on an html page and then submit the details in the database. I am able to add the details to the database. But if any of the field remains empty, then that particular column remains empty in the database. I am also able to display a message on the neext screen, if the user clicks on Submit. I want a message to be popped up at the screen itself. I urgently need some help...Plz let me know. Thanks in advance Regards, Shraddha
Check out the validator controls that come with ASP.Net. You associate one validator control per field and they do all the magic for you. If you do not use ASP.net, you can use JavaScript.
Christopher Pond Innovative Technology Solutions SpartanSoft.net.