이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 필드 값 삭제 버튼 가이드 ====== 필드성 컴포넌트 클리어(값삭제) 버튼 관련 예시화면이다. 클리어 버튼은 필드성 컴포넌트 포커스시 값 존재 여부에 따라 동적으로 표시되며, 클릭시 필드 값 삭제 기능을 수행한다. 필드성 컴포넌트 clear_button_hidden, clear_button_size, clear_button_pos 속성에 의해서 설정된다. 클리어 버튼은 필드의 input_type 및 enable 속성을 기준으로 표시/숨김 상태가 적용된다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/FIELD/field_clearbutton 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/FIELD/field_clearbutton.xml|field_clearbutton.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/FIELD/field_clearbutton.js|field_clearbutton.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/FIELD/field_clearbutton|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/FIELD/field_clearbutton"'; 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_clearbutton.txt 마지막으로 수정됨: 2023/10/25 16:57저자 127.0.0.1