ASP.net: Page Validation on Client Side.


/ Published in: JavaScript
Save to your folder(s)

Page_ClientValidate is a global function. When called this will return true/false if the validator group provided is valid or not.


Copy this code and paste it in your HTML
  1. if (typeof (Page_ClientValidate) === 'function' && Page_ClientValidate("EntryGroup") === true) { /* Validated */ }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.