コンテンツへスキップ
メニュー
この質問にフラグが付けられました
質問は終了しました 理由: Question / Code not indented
次により: wwy on 2024年05月27日 03時28分20秒
1 返信
1213 ビュー
   

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
2574
2
5月 25
5954
1
3月 25
1716
4
3月 25
4564
3
2月 25
5571