Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
Pertanyaan sudah ditutup untuk alasan: Question / Code not indented
oleh wwy pada 27/05/2024 15:28:20
1 Balas
1391 Tampilan
   

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
Buang
Jawaban Terbai

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
Buang
Penulis

Hi Duong,
Sorry, please provide more deatils

Post Terkait Replies Tampilan Aktivitas
2
Sep 25
1321
4
Sep 25
6360
0
Agu 25
629
4
Mei 25
3089
2
Mei 25
6513