Hi guys,
I noticed a small typo on the getting started page for the jquery validator.
“jqxValidation” should read “jqxValidator” in the following.
The last step is to initialize the widget by adding the following script to the html document:
<script type="text/javascript">
$(document).ready(function () {
$('#testForm').jqxValidation({ rules: [
{ input: '#userInput', message: 'Username is required!', action: 'keyup', rule: 'required' },
{ input: '#emailInput', message: 'Invalid e-mail!', action: 'keyup', rule: 'email' }], theme: theme
});
</script>
Thanks