Skip to Content
Menú
This question has been flagged
S'ha tancat la pregunta per raó: Question / Code not indented
per wwy en 27/05/2024 03:28:20
1 Respondre
732 Vistes
   

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.


   

          

                    

                                 

                                  

                                  

                    

           

 




Avatar
Descartar
Best Answer

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)

Avatar
Descartar
Autor

Hi Duong,
Sorry, please provide more deatils

Related Posts Respostes Vistes Activitat
4
de maig 25
911
2
de maig 25
3890
1
de març 25
452
4
de març 25
3098
3
de febr. 25
3684