Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
The question has been closed iz razloga: Question / Code not indented
by wwy na 27. 05. 2024 15:28:20
1 Odgovori
1405 Prikazi
   

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
Opusti
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
Opusti
Avtor

Hi Duong,
Sorry, please provide more deatils

Related Posts Odgovori Prikazi Aktivnost
2
sep. 25
1344
4
sep. 25
6369
0
avg. 25
632
4
maj 25
3097
2
maj 25
6519