2024-10-11 10:00 이메일 허용 문자 추가 -

This commit is contained in:
myname 2024-10-11 10:03:17 +09:00
parent 94a5c8835c
commit ce87142369
2 changed files with 8 additions and 4 deletions

View File

@ -349,8 +349,12 @@ function onlyNumber(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9]/gi, ""); thisObj.value = thisObj.value.replace(/[^0-9]/gi, "");
} }
function onlyAlphabetNumber(thisObj) { function onlyAlphabetNumber(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\._]/gi, ""); thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, "");
}
function onlyAlphabetNumber2(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, "");
} }
function getChkLen(name) { function getChkLen(name) {

View File

@ -371,8 +371,8 @@ function onlyNumber(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9]/gi, ""); thisObj.value = thisObj.value.replace(/[^0-9]/gi, "");
} }
function onlyAlphabetNumber(thisObj) { function onlyAlphabetNumber(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\._]/gi, ""); thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, "");
} }
function getChkLen(name) { function getChkLen(name) {