콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
질문이 마감되었습니다 이유 : Question / Code not indented
작성자 wwy 있음 2024년 05월 27일 03시 28분 20초
1 회신
1021 화면
   

Hi, 

Please advise how to make the below attribute functional. With below code, I can save the record without entering "measure_data_ids". The attribute  required="test_type_id ==5" did not work.


   

          

                    

                                 

                                  

                                  

                    

           

 




아바타
취소
베스트 답변

Hmm normally, we don't hard code like that. Assume 5 is the value you want need to be required, let's create a non store field to has the value which id is 5, then the required now will be equired="test_type_id ==require_field" (not u need to add field="require_field" invisible="1" before declare require attr)

아바타
취소
작성자

Hi Duong,
Sorry, please provide more deatils

관련 게시물 답글 화면 활동
4
5월 25
2058
2
5월 25
5376
1
3월 25
1311
4
3월 25
4084
3
2월 25
5014