Commit 027ba7af by Thi Thanh Yen Hoang

update javascript.js

parent 1d309d6d
......@@ -17,10 +17,10 @@ function validate() {
check = false;
}
else {
if (email == cemail) {
if (alphabeta.test(firstname) == true && alphabeta.test(lastname) == true && date.test(bday) == true && filter.test(email) == true && filter.test(cemail) == true) {
if (email == cemail) {
if (alphabeta.test(firstname) == true && alphabeta.test(lastname) == true && date.test(bday) == true && filter.test(email) == true && filter.test(cemail) == true) {
alert("Thank for your registering");
check = true;
check = true;
}
else {
message.innerHTML = "Input Error";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment