I would like to know a way to filter a form field according to the option 
in another field of the same form.
Example:
I have a field 'tipo_pet' that can be 'dog' or 'cat', and another field 
called 'vaccine', so I want the vaccine field to be filtered according to 
the type of pet, vaccines for dog if the type of pet is dog or cat vaccines 
if the type of pet is cat.
How to do this?
I'm using Class-based views.

Sergio Alves

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c5abea92-e6bf-4f55-b0e7-b6593d0ee406n%40googlegroups.com.

Reply via email to