Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
La domanda è stata chiusa con motivazione: Question / Code not indented
da wwy - 27/05/2024 03:28:20
1 Rispondi
1189 Visualizzazioni
   

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Hi Duong,
Sorry, please provide more deatils

Post correlati Risposte Visualizzazioni Attività
4
mag 25
2521
2
mag 25
5885
1
mar 25
1694
4
mar 25
4492
3
feb 25
5497