Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
Kysymys on suljettu seuraavasta syystä: Question / Code not indented
tekijä wwy päiväyksellä 27.05.2024 03.28.20
1 Vastaa
1016 Näkymät
   

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

Hi Duong,
Sorry, please provide more deatils

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
toukok. 25
2039
2
toukok. 25
5345
1
maalisk. 25
1295
4
maalisk. 25
4070
3
helmik. 25
4977