Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3622 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 25
5973
1
pro 24
1497
1
úno 24
1639
1
lis 22
16071
3
srp 22
13126