|
|
@ -92,7 +92,7 @@ $(document).ready(function(){
|
|
|
|
$(errorMsg).text("Password is a required field. It cannot be empty.");
|
|
|
|
$(errorMsg).text("Password is a required field. It cannot be empty.");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
} else if (password.length < 6) {
|
|
|
|
} else if (password.length < 6) {
|
|
|
|
$(errorMsg).text("Password is a required field. It cannot be empty.");
|
|
|
|
$(errorMsg).text("Password should contain a minimum of 6 characters.");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
} else if (password != passwordConfirmation) {
|
|
|
|
} else if (password != passwordConfirmation) {
|
|
|
|
$(errorMsg).text("Please enter the same password for confirmation.");
|
|
|
|
$(errorMsg).text("Please enter the same password for confirmation.");
|
|
|
|