Drop down dependent on two other form fields

230 views
Skip to first unread message

Arindam sarkar

unread,
Jan 5, 2016, 1:07:54 AM1/5/16
to django...@googlegroups.com
Hello,
In my project I have a from in which there is three drop down. The 3rd drop down is depended on the selected values of the above two drop downs . How can I go for the implementation of it . Please show me a way.

--
Regards,

Arindam

Contact no. 08732822385


Andreas Kuhne

unread,
Jan 5, 2016, 1:27:41 AM1/5/16
to django...@googlegroups.com
Hi Arindam,

I didn't find any really good solution, however, googling for "django dropdown dynamic", should point you in the right direction.

Hope that helps.

Regards,

Andréas 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGnF%2BrAfuN_s7bT1o3Hth9gY2FxY6Mc2MbBfTc0_Gm%2BWQTDPsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Billu

unread,
Jan 5, 2016, 3:19:56 PM1/5/16
to Django users
Think you have to use jQuery (or any other JS framework) on this one to send the values back to server. An example would be http://jsfiddle.net/dKMzk . But with this, you have to pull all values prior to loading the drop-downs. With this example, you can pull values after selection, but still you've to use jQuery.
You could also use AJAX, but I guess that would be heavier.

shefali chudasama

unread,
May 6, 2020, 6:10:07 AM5/6/20
to Django users
Did you gor the solution.. i want to do the same.. from database

Sherif Adigun

unread,
May 6, 2020, 6:46:17 AM5/6/20
to Django users
Reply all
Reply to author
Forward
0 new messages