Page 1 of 1

check email format

Posted: Wed May 27, 2015 8:33 am
by Spark Chao

Hello
When the user would like to sign up ,I hope they use email to account.
so I set some javascript to check what they input.

if ($.trim(Appery("create_username_input").val()) != "") {
if ($.trim(Appery("create_email_input").val()) != "") {
if ($.trim(Appery("create_password_input").val()) != "") {
if (!document.getElementsByName("create_email_input")[0].checkValidity || document.getElementsByName("create_email_input")[0].checkValidity()) {
signup.execute({});
} else {
alert("Please check the email format");
}
} else {
alert("Please enter password");
}
} else {
alert("Please enter email");
}
} else {
alert("Please enter name");
}

Unfortunately,the email check does not work,whatever content I filled in,it still run the signup service.
Please help me to figure out.Thanks!!

And how about the iOS app test and google analytic are ok right now?
Anything update??


check email format

Posted: Wed May 27, 2015 10:14 am
by Serhii Kulibaba

Hello Spark,

Please follow this topic: http://stackoverflow.com/questions/46...