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
Cette question a été signalée
1
Répondre
6051
Vues
Hi, you can use xml attrs ,
<field name="column1"/>
<field name="column2" attrs="{'invisible':[('column1','!=',False)]}" />
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
sept. 24
|
3244 | ||
|
|
1
févr. 21
|
7598 | ||
|
|
1
mars 15
|
9122 | ||
|
|
1
févr. 21
|
15824 | ||
|
|
1
févr. 16
|
9661 |