In trying to do this myself, I've run across a lot of problems. How're your register and registerview pages set up now, in full?
Also, for the fun of it, this may interest you:
Code:
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.11.1/jquery.validate.min.js"></script>
<script>
/* FORM VALIDATION */
$("#regform").validate( {
rules: {
username: { minlength: 2, maxlength: 20, required: true },
email: { required: true, email: true },
pass1: { minlength: 7, maxlength: 20, required: true },
pass2: { equalTo: "#pass1" } },
success: function(element) { $(element).text("OK!").closest("input") }
});
</script>
Documentation for this plugin
can be found here.