From 97f0765a7e1bb3ee6881bfd1684b7740aa6b4add Mon Sep 17 00:00:00 2001 From: myname Date: Mon, 26 Feb 2024 16:46:57 +0900 Subject: [PATCH] =?UTF-8?q?2024-02-26=2016:45=20=EC=8B=A4=EB=AC=B8=20?= =?UTF-8?q?=EC=8B=A0=EC=B2=AD=EC=84=9C=20=EC=9E=85=EB=A0=A5=EA=B8=80?= =?UTF-8?q?=EC=9E=90=20=EC=A0=9C=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ve/aplct/fndtnEnhanceTrn/eduAplctList.jsp | 5 ++++- .../fndtnEnhanceTrn/popup/eduAplctPop.jsp | 18 ++++++++++++++++++ .../aplct/sspnIdtmt/popup/eduAplctPopList.jsp | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.jsp index 2be2a44a..03c20044 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.jsp @@ -312,7 +312,10 @@ $(document).ready(function(){ , "eduRegPopup" ); } - + + function fn_cancel(){ + alert("관리자에게 취소 요청 해주세요~"); + } function fn_ggim(prcsAplctPrdOrd){ var regForm = document.regForm; regForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd; diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/popup/eduAplctPop.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/popup/eduAplctPop.jsp index b988ec04..67eb38a5 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/popup/eduAplctPop.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/fndtnEnhanceTrn/popup/eduAplctPop.jsp @@ -96,7 +96,19 @@ $(document).ready(function(){ // alert 두번 방지 if if(valChk){ + + if($('#insttNm').val().length>30){ + alert('30자 이내로 작성해주세요.'); + $('#insttNm').focus(); + return false; + } + if($('#prvsQs').val().length>30){ + alert('150자 이내로 작성해주세요.'); + $('#prvsQs').focus(); + return false; + } + if(!$('#fldSelect').val()){ alert('분야를 선택해 주세요.'); $('#fldSelect').focus(); @@ -108,6 +120,12 @@ $(document).ready(function(){ $('#fld').focus(); return false; } + + if($('#fld').val().length>30){ + alert('30자 이내로 작성해주세요.'); + $('#fld').focus(); + return false; + } } // duet-date라서 name밖에 없음 diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/sspnIdtmt/popup/eduAplctPopList.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/sspnIdtmt/popup/eduAplctPopList.jsp index 034fbd0e..572654fa 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/sspnIdtmt/popup/eduAplctPopList.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/sspnIdtmt/popup/eduAplctPopList.jsp @@ -269,7 +269,7 @@ $(document).ready(function(){ }); setTimeout(function(){ - $('#dBirth .duet-date__input').attr("title","생년월일을 선택하세요."); + $('#dBirth .duet-date__input').attr("title","ex)1973.12.23 생년월일을 선택하세요."); },10) })