The validation plugin is working wonderfully. On the server side, there is some processing like trimming the input field, lowercasing the input field, etc... Is there an easy way to wrap the fields into such filters prior to processing so that the client check matches the server check?
The syntax I'm using is: $(document).ready(function(){ $("#form_frame").validate({ success: "valid",rules: { email: { email: true, minlength: 6, maxlength: 150, required: true, }, password: { minlength: 6, maxlength: 50, required: true, }, }, messages: { email: { email: "please enter a valid email address", minlength: "emails must be at least 6 characters", maxlength: "emails cannot exceed 150 characters", required: "email is required", }, password: { minlength: "passwords must be at least 6 characters", maxlength: "passwords cannot exceed 50 characters", required: "password is required", }, }});}); I'm not sure where the toLowerCase() goes. I don't know javascript and am new to jQuery. Thank you.