Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
3636 Ansichten

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
Verwerfen
Autor Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Feb. 25
5975
1
Dez. 24
1500
1
Feb. 24
1646
1
Nov. 22
16072
3
Aug. 22
13126