이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 일반필드 time_type 속성 ====== 일반필드를 이용해서 시분초에 대한 입력 처리 기능을 제공하기 위해서 time_type 속성을 제공한다. time_type과 속성과 함께 pattern, max_length 속성을 지정하여 패턴 처리 및 최대 입력 가능 길이값을 지정한다. 시는 00 ~ 23, 분/초는 00 ~ 59까지의 값으로 입력을 제한하며, 포커스 아웃시 값에 대한 검증 처리를 수행한다. 관련 속성으로 time_type, pattern, max_lengt, time_spin_key, time_spin_type, hour_button_hidden, hour_button_size가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/FIELD/field_timetype 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/FIELD/field_timetype.xml|field_timetype.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/FIELD/field_timetype.js|field_timetype.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/FIELD/field_timetype|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/FIELD/field_timetype"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> function screen_on_load() { } </sxh> guide/component/field/field_timetype.txt 마지막으로 수정됨: 2024/02/22 15:17저자 127.0.0.1