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
4659 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
1918
1
lut 21
6294
1
mar 15
7513
1
lut 21
14139
1
lut 16
8320