Page_ClientValidate is validating multiple times.

The problem is that the function Page_ClientValidate takes an input parameter, if you don’t specify the input then the validationsummary triggers once per groupname.

In your case, the function triggers twice: once for groupname=”ContactGroup” and another time for groupname=””

you should change

var isPageValid = Page_ClientValidate();

to

var isPageValid = Page_ClientValidate('');

if you don’t want to specify a ValidationGroup, or if you want to specify a groupname then you need to call Page_ClientValidate like so:

var isPageValid = Page_ClientValidate('ContactGroup');

Leave a Comment