Skip to Content
Menu
This question has been flagged
2 Replies
3627 Rodiniai

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 ?


Portretas
Atmesti
Autorius Best Answer

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

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
vas. 25
5973
1
gruod. 24
1497
1
vas. 24
1641
1
lapkr. 22
16072
3
rugp. 22
13126