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

I am creating a form and I would like to know how to hide fields when a field is filled and when the hided fields appear again when the field is empty again

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

Hi, you can use xml attrs ,

<field name="column1"/>

<field name="column2" attrs="{'invisible':[('column1','!=',False)]}" />

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 24
1505
1
ก.พ. 21
5900
1
มี.ค. 15
7133
Hide a fields when part of a group แก้ไขแล้ว
1
ก.พ. 21
13749
1
ก.พ. 16
7821