跳至內容
選單
此問題已被標幟
問題已關閉 原因: Question / Code not indented
wwy2024年05月27日 03時28分20秒
1 回覆
1193 瀏覽次數
   

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
2524
2
5月 25
5906
1
3月 25
1696
4
3月 25
4520
3
2月 25
5523