Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4296 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi, you can use xml attrs ,

<field name="column1"/>

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 24
1496
1
lut 21
5898
1
mar 15
7132
1
lut 21
13743
1
lut 16
7812