From 18eb95191d1ba64c839bc6a210c686429392a41a Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 목, 09 12월 2021 16:54:27 +0900 Subject: [PATCH] - 업체 기준 isp/호스팅 연동 - 전화번호,이메일 유효성 검사 수정 --- src/main/webapp/views/hostingField/hostingFieldModify.html | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/views/hostingField/hostingFieldModify.html b/src/main/webapp/views/hostingField/hostingFieldModify.html index dbc2191..1c3d192 100644 --- a/src/main/webapp/views/hostingField/hostingFieldModify.html +++ b/src/main/webapp/views/hostingField/hostingFieldModify.html @@ -27,7 +27,7 @@ ng-maxlength="100" maxlength="100" required> - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <small translate="hostingField.enterSpecialCharacters">�샇�뒪�똿 �씠由꾩뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰 �븷�닔 �뾾�뒿�땲�떎.</small> </div> <div class="form-group"> <label for="hostingFieldModifyForm10"> @@ -46,6 +46,7 @@ ng-maxlength="100" maxlength="100" required> + <small translate="hostingField.invalidCodeFormat">肄붾뱶紐낆뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰 �븷�닔 �뾾�뒿�땲�떎.</small> </div> <div> <div class="form-group"> @@ -63,7 +64,6 @@ ng-maxlength="100" maxlength="100" > - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> </div> </div> <div> @@ -76,12 +76,14 @@ type="text" class="form-control" kr-input - input-regex="[^0-9]" + ng-pattern="/^\d{2,3}-\d{3,4}-\d{4}$/" autocomplete="off" ng-model="vm.form.tel" maxlength="20" > - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <div ng-show="hostingFieldModifyForm.tel.$error.pattern" class="help-block form-text text-danger" + translate="companyField.invalidTelFormat">�쟾�솕踰덊샇 �삎�떇�씠 留욎� �븡�뒿�땲�떎. xxx-xxx-xxxx �삎�떇�쑝濡� �엯�젰�븯�꽭�슂. + </div> </div> </div> <div> @@ -99,7 +101,9 @@ kr-input ng-pattern="/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/" > - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <div ng-show="hostingFieldModifyForm.email.$error.pattern" class="help-block form-text text-danger" + translate="users.invalidEmailFormat">�씠硫붿씪 �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> </div> <div> -- Gitblit v1.8.0