View Single Post
  #9  
Old 02-05-2014, 04:27 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 136,976
Kyttias is on a distinguished road
Default

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.
Reply With Quote