한글필드 » Api

setpatternmask

Description

필드에 입력된 데이터의 마스크 패턴을 설정하는 API이다.

Parameters

Parameters Type Description
strPatternMask STRING 패턴 마스크 양식

Return Value

Type Description
void 없음

Remark

** 패턴 예시
HHHH-XXH: "가나다라마바사" -> "가나다라-**사"

Example

function btnsetpatternmask_on_mouseup() { // 마스크 패턴 지정 fld_han.setpatternmask("XXX-XX-HHH"); screen.alert(fld_han.getpatternmask()); }

See Also

getpatternmask

Viewer Ver.

9.1.1.1

Update Date

20230601