You could use a dictionary with cities as keys and in first drop down get keys
and an if condition for second where it checks first for city if nothing
selected then make second disable
Sent from my iPhone
> On May 10, 2019, at 07:35, avdesh sharma wrote:
>
> Hi Django Users,
>
>
> I have a
Hi,
follow this tutorial to achieve this
https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html
W dniu piątek, 10 maja 2019 15:41:54 UTC+2 użytkownik Avdesh Kumar Sharma
napisał:
>
> Hi Django Users,
>
>
> I have a registra
Hi Django Users,
I have a registration form in which I wanted to enter only Indian Cities in
one fields as a dropdown and their respective states in another field
dropdown.
Could you please help me and provide me step by step guidance how to
achieve that as I am an intermediate level programmer.
3 matches
Mail list logo