Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5452 มุมมอง

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
285
0
ก.ค. 25
325
1
พ.ค. 25
812
0
มี.ค. 25
956
0
มี.ค. 25
878