2024-02-26 16:45 실문 신청서 입력글자 제한
This commit is contained in:
parent
72311a1a54
commit
97f0765a7e
@ -312,7 +312,10 @@ $(document).ready(function(){
|
|||||||
, "eduRegPopup"
|
, "eduRegPopup"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fn_cancel(){
|
||||||
|
alert("관리자에게 취소 요청 해주세요~");
|
||||||
|
}
|
||||||
function fn_ggim(prcsAplctPrdOrd){
|
function fn_ggim(prcsAplctPrdOrd){
|
||||||
var regForm = document.regForm;
|
var regForm = document.regForm;
|
||||||
regForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
|
regForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
|
||||||
|
|||||||
@ -96,7 +96,19 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
// alert 두번 방지 if
|
// alert 두번 방지 if
|
||||||
if(valChk){
|
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()){
|
if(!$('#fldSelect').val()){
|
||||||
alert('분야를 선택해 주세요.');
|
alert('분야를 선택해 주세요.');
|
||||||
$('#fldSelect').focus();
|
$('#fldSelect').focus();
|
||||||
@ -108,6 +120,12 @@ $(document).ready(function(){
|
|||||||
$('#fld').focus();
|
$('#fld').focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($('#fld').val().length>30){
|
||||||
|
alert('30자 이내로 작성해주세요.');
|
||||||
|
$('#fld').focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// duet-date라서 name밖에 없음
|
// duet-date라서 name밖에 없음
|
||||||
|
|||||||
@ -269,7 +269,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('#dBirth .duet-date__input').attr("title","생년월일을 선택하세요.");
|
$('#dBirth .duet-date__input').attr("title","ex)1973.12.23 생년월일을 선택하세요.");
|
||||||
},10)
|
},10)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user