Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3620 Weergaven

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
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
feb. 25
5972
1
dec. 24
1495
1
feb. 24
1638
1
nov. 22
16071
3
aug. 22
13125