Client side validation on simple registration form of button click

Posted by Webquestionss under ASP.NET on 11/10/2012 | Points: 10 | Views : 2086 | Status : [Member] | Replies : 1
Would like to know the concept behind the working of the URL below:

If any user clicks on the submit button without filling any information then a javascript pop up appears and all the important fields that has to displayed is shown one by one, I am aware about alert function of javascript but not aware to shown multiple alert messages on single alert if a single or multiple text box is empty.How to achieve this, Please guide?


Posted by: Narla.Venkatesh on: 11/11/2012 [Member] Starter | Points: 25


u can achieve this by using asp validationsummary control.

after writing all controls write this code.

<asp:ValidationSummary ID="ValSum1" runat="server"  ShowMessageBox="true" ShowSummary="true" />

hope this will work for your question..


Webquestionss, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response