Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
คำถามนี้ถูกปิดแล้ว เนื่องจาก: Question / Code not indented โดย wwy เมื่อ 27/05/2024 03:28:20
1 ตอบกลับ
1194 มุมมอง
   

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.


   

          

                    

                                 

                                  

                                  

                    

           

 




อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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)

อวตาร
ละทิ้ง
ผู้เขียน

Hi Duong,
Sorry, please provide more deatils

Related Posts ตอบกลับ มุมมอง กิจกรรม
4
พ.ค. 25
2532
2
พ.ค. 25
5911
1
มี.ค. 25
1698
4
มี.ค. 25
4524
3
ก.พ. 25
5525