Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
Запитання закрите для причини: Question / Code not indented
by wwy на 27.05.2024 03:28:20
1 Відповісти
1232 Переглядів
   

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
2619
2
трав. 25
6020
1
бер. 25
1734
4
бер. 25
4616
3
лют. 25
5632