|
|
@@ -38,6 +38,9 @@ $( function(){
|
|
|
maxlength : 15,
|
|
|
passwordValid : true
|
|
|
},
|
|
|
+ staffPwConfirm : {
|
|
|
+ equalTo: "#staffPw",
|
|
|
+ },
|
|
|
totalCapacity :{
|
|
|
number:true
|
|
|
},
|
|
|
@@ -52,6 +55,9 @@ $( function(){
|
|
|
staffPw : {
|
|
|
minlength : "비밀번호를 확인하세요 (영문, 숫자, 특수문자를 혼합하여 8 ~ 15자 이내)",
|
|
|
maxlength : "비밀번호를 확인하세요 (영문, 숫자, 특수문자를 혼합하여 8 ~ 15자 이내)"
|
|
|
+ },
|
|
|
+ staffPwConfirm : {
|
|
|
+ equalTo: "비밀번호가 일치하지 않습니다.",
|
|
|
}
|
|
|
},
|
|
|
onkeyup: function( element, event ) {
|
|
|
@@ -99,7 +105,7 @@ $( function(){
|
|
|
<div class="row">
|
|
|
<div class="col-12">
|
|
|
<div class="card">
|
|
|
- <form action="./newRegist" method="post" id="newForm">
|
|
|
+ <form action="./new/regist" method="post" id="newForm">
|
|
|
<div class="card-body">
|
|
|
<table class="table mobile-table">
|
|
|
<colgroup>
|
|
|
@@ -156,25 +162,33 @@ $( function(){
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th><span class="fix">*</span>아이디</th>
|
|
|
+ <th><span class="fix">*</span>담당자 아이디</th>
|
|
|
<td>
|
|
|
<input type="text" class="form-control" name="staffId" autocomplete="off" maxlength="20" required>
|
|
|
</td>
|
|
|
- <th><span class="fix">*</span>비밀번호</th>
|
|
|
- <td>
|
|
|
- <input type="password" class="form-control" name="staffPw" placeholder="숫자, 영문, 특수문자 조합 8~15자 이내" maxlength="15" required>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<th><span class="fix">*</span>담당자 이름</th>
|
|
|
<td>
|
|
|
<input type="text" class="form-control" name="staffName" required>
|
|
|
</td>
|
|
|
- <th><span class="fix">*</span>담당자 휴대전화번호</th>
|
|
|
- <td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span class="fix">*</span>담당자 전화번호</th>
|
|
|
+ <td colspan="3">
|
|
|
<input type="text" class="form-control" name="staffPhoneNumber" placeholder="'-'를 제외한 숫자만 입력하세요" required onkeypress="onlyNumber();">
|
|
|
</td>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <th><span class="fix">*</span>비밀번호</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <input type="password" class="form-control" name="staffPw" id="staffPw" placeholder="숫자, 영문, 특수문자 조합 8~15자 이내" maxlength="15" required>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span class="fix">*</span>비밀번호 확인</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <input type="password" class="form-control" name="staffPwConfirm" placeholder="비밀번호 확인을 위해 비밀번호를 한번 더 입력하세요." maxlength="15" required>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
<div class="row mt-3">
|
|
|
<div class="col-12">
|