Se rendre au contenu
Menu
Cette question a été signalée
La question est close pour la raison suivante : Question / Code not indented
par wwy le 27/05/2024 03:28:20
1 Répondre
1023 Vues
   

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

Hi Duong,
Sorry, please provide more deatils

Publications associées Réponses Vues Activité
4
mai 25
2063
2
mai 25
5382
1
mars 25
1312
4
mars 25
4087
3
févr. 25
5018