跳至内容
菜单
此问题已终结
该问题已被关闭 原因: Question / Code not indented
wwy2024年05月27日 03时28分20秒
1 回复
1195 查看
   

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
2537
2
5月 25
5915
1
3月 25
1698
4
3月 25
4526
3
2月 25
5530