validation to check database

nekron

New Member
I am using jquery to do client side validation of a form. This is how I do it:\[code\] $("#registerForm").validate({ rules: { BCNumber : { required: true, minlength: 5, maxlength: 10 }, Username : { required: true, minlength: 5, maxlength: 10 }, Password : { required: true, minlength: 5, maxlength: 10 }, SecurityQuestion : { required: true, minlength: 5, maxlength: 10 }, SecurityAnswer : { required: true, minlength: 5, maxlength: 10 }, }\[/code\]but for one of them I need to check database and if it exist submit the form, I was thinking once the submit button is clicked I can check and pass my true or false value to jquery. Is this possible to do with jquery, if so can someone please show me?
 
Back
Top