Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3625 Vues

Hi i have two models (item type and item with many to one relation) when i select item type as book from dropdown i need to display two fields, when i select CD from dropdown i need to display other two field. is there any way ?


Avatar
Ignorer
Auteur Meilleure réponse

thanks for the reply can you please tell me how to make a filed invisible from the python code ?

Avatar
Ignorer
Meilleure réponse

Hi, In the above scenario you can set Onchange Method for item type field and in Onchange Method you need to set the invisibility attribute to the required fields on the selected item i.e.Book or CD.

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
févr. 25
5973
1
déc. 24
1497
1
févr. 24
1640
1
nov. 22
16071
3
août 22
13126