fairnet/src/main/webapp/WEB-INF/jsp/uat/uia/NCertStep1.jsp
2024-11-25 12:46:43 +09:00

98 lines
3.2 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<script type="text/javascript">
$(document).ready(function(){
if('${Exception}' != ''){
alert('${Exception}');
}
});
function validation(){
if($('#name').val() == ''){
alert('이름을 입력해 주세요');
return false;
}
if($('#phone').val() == ''){
alert('휴대전화를 입력해 주세요.');
return false;
}
if($('#birth').val() == ''){
alert('생년월일을 입력해 주세요.');
return false;
}
if(!$('#agree_01').is(':checked')){
alert('개인정보 수집 및 이용동의를 체크해 주세요.');
return false;
}
if(!$('#agree_02').is(':checked')){
alert('제3자 정보 제공 동의를 체크해 주세요.');
return false;
}
return true;
}
function goStep2(){
if(validation()){
document.nForm.submit();
}
}
</script>
<form id="nForm" name="nForm" action="/web/user/cert/nCertStep2.do" method="post">
<div class="window_popup idf" style="width:700px">
<div class="title_area">
<h1>네이버 간편인증</h1>
</div>
<div class="cont_area">
<div class="table_type_rows">
<table>
<colgroup>
<col style="width:200px;">
<col style="width:auto;">
</colgroup>
<tbody>
<tr>
<th>이름</th>
<td><input type="text" id="name" name="name" class="input_text w100per" placeholder="이름"></td>
</tr>
<tr>
<th>휴대전화</th>
<td><input type="text" id="phone" name="phone" class="input_text w100per" placeholder="본인명의 휴대전화번호(숫자만 입력)"></td>
</tr>
<tr>
<th>생년월일</th>
<td><input type="text" id="birth" name="birth" class="input_text w100per" placeholder="생년월일 8자리(19990101)"></td>
</tr>
</tbody>
</table>
</div>
<ul class="agree_box_area">
<li>
<div class="checkbox_wrap">
<input type="checkbox" id="agree_01"><label for="agree_01">개인정보 수집 및 이용동의 <span class="color_red">(필수)</span></label>
</div>
<button type="button" class="btn btn_35 btn_text darkgray_border">자세히보기</button>
</li>
<li>
<div class="checkbox_wrap">
<input type="checkbox" id="agree_02"><label for="agree_02">제3자 정보 제공 동의 <span class="color_red">(필수)</span></label>
</div>
<button type="button" class="btn btn_35 btn_text darkgray_border">자세히보기</button>
</li>
</ul>
<div class="btn_wrap center">
<button type="button" class="btn btn_40 btn_text gray_fill" onclick="self.close();">취소</button>
<button type="button" class="btn btn_40 btn_text darkblue_fill" onclick="goStep2();">인증요청</button>
</div>
</div>
</div>
</form>