Skip to Content
Menu
This question has been flagged
The question has been closed priežastis: Question / Code not indented
by wwy nuo 2024-05-27 03:28:20
1 Atsakyti
1211 Rodiniai
   

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.


   

          

                    

                                 

                                  

                                  

                    

           

 




Portretas
Atmesti
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)

Portretas
Atmesti
Autorius

Hi Duong,
Sorry, please provide more deatils

Related Posts Replies Rodiniai Veikla
4
geg. 25
2571
2
geg. 25
5954
1
kov. 25
1715
4
kov. 25
4564
3
vas. 25
5571