회원가입시 휴대폰번호 중복 체크를 위한 코드 추가

This commit is contained in:
chicpro
2013-02-28 13:44:15 +09:00
parent 1edea853ec
commit 177ceb81bc
5 changed files with 90 additions and 29 deletions

View File

@ -302,6 +302,16 @@ function fregisterform_submit(f)
}
}
// 휴대폰번호 검사
if ((f.w.value == "") || (f.w.value == "u" && f.mb_hp.defaultValue != f.mb_hp.value)) {
var msg = reg_mb_hp_check();
if (msg) {
alert(msg);
f.reg_mb_hp.select();
return false;
}
}
// 휴대폰인증 검사
if(f.kcpcert_time.value == "") {
alert("휴대폰 본인인증을 해주세요.");