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
4843 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
2114
1
lut 21
6482
1
mar 15
7771
1
lut 21
14333
1
lut 16
8521