Am 2007-10-03 um 18:30 schrieb Emmchen:

> I am wondering if it's possible to link dropdowns using newforms. I
> want to use the selected value in the first dropdown as the
> filtervalue for the next dropdown etc.
>

You want the options of the second select to change after selection  
of the first?
If you don't want to use two forms, you must use JavaScript (with or  
without AJAX) to change the values after the change.
Either you place different sets of options in hidden selects and show  
one of them depending on the selection,
or you must send an AJAX request to a django view that provides the  
needed values.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to