Just remember to specify a ValidationGroup on your form fields so the JS function knows which controls to validate
Code Snippet
// By leaving the validation group parameter blank, it will
// validate the whole page, not just a target group.
if (Page_ClientValidate("ValidationGroupNameHere")) {
// JS Code here...
}
No comments:
Post a Comment