Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4947 Переглядів

Hi, in this particular case i have 10 boolean fields, the user can select all fields or just some ones, every time when the user select or unselect a field, the function must increment or decrement the value of two fields type integer (selected fields: and unselect fields). When i create a new record in my form all the fields are unselected; selected field must display: 0, unselected fields must display: 10. i am using on_change and a function but i can't install the module i get the error: AttributeError: 'int' object has no attribute 'id' and i can't continue.

Thank you :-)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 25
334
0
бер. 25
520
0
бер. 25
397
1
бер. 25
1348
2
квіт. 24
1403