Param

Method

Event

 

 

IsPrivacyInfo

현재 편집 중인 문서의 내용 중 개인 정보에 해당하는 정보가 존재하는지를 확인합니다.

작성한 내용 중 개인 정보가 존재할 경우 미리 체크하여 알려주는 기능입니다.

 

Parameters

bcheckJumin

true : 주민등록번호 검사

false : 검사 대상에서 제외

bcheckPhone

true : 전화번호 검사

false : 검사 대상에서 제외

bcheckEmail

true : 메일주소 검사

false : 검사 대상에서 제외

 

Return Values

TRUE

개인정보 대상 존재

FALSE

개인정보 대상 미존재

 

Sample Codes

var CrossEditor = new NamoSE("test");
CrossEditor.EditorStart();

function OnInitCompleted(e) {
   var info = CrossEditor.IsPrivacyInfo(true, true, true);
   if(info)
   {
       alert("개인정보가 발견되었습니다.");
   }
   else
   {
       var val = CrossEditor.GetBodyValue();
   }
}