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

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

相关帖文 回复 查看 活动
2
9月 25
1405
4
9月 25
6400
0
8月 25
643
4
5月 25
3117
2
5月 25
6536