Dynamic data into a form
Hi all,
I've got 2 Multiplechoicefields into my form both bounded to a
queryset. The data in both fields are relational. This means that when
I click on the 1st field and I select for example 'Netherlands' in the
second field only the footballclubs of 'Netherlands' should show,...
I should like to know the follwing:
1) How i filter the queryset from the 2nd list dynamically? Should I
use some javascript doing this or can django handle this somehow?
2) How i pass my queryset from 1) to my forms.py as an argument or is
there another way to do this?
Thanks in advance
Regards
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home