Your button...
<button name="Login" type="button" onclick="submitform();">Register</button>
You do not need any inline JavaScript with jQuery. And you certainly don't need an onclick
handler for the jQuery Validate plugin.
Change your type
into submit
and remove the inline click handler...
<button name="Login" type="submit">Register</button>
You also cannot put a return false
into your DOM ready handler...
$(document).ready(function () {
$('#formreg').validate({
// your rules
});
// return false; // <- REMOVE THIS LINE
});
Working DEMO: http://jsfiddle.net/M9Y6L/1/