Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3640 Widoki

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 ?


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 25
5975
1
gru 24
1500
1
lut 24
1646
1
lis 22
16073
3
sie 22
13126