Hello In admin panel I created simply jquery ajax function to update second selectbox if first was changed.
selectbox1 = category1, category2, category3 category1 has: sub1, sub2, sub3 category2 does not have any subcategories category3 has: sub4, sub5 So when I select category1 I get sub1, sub2, sub3 subcategories in selectbox2 when I select category2 I get nothing in selectbox2 And it works well. But if I ommit some required field/fields and I select category1 and 'save' I get some errors and selectbox2 has all subcategories (sub1, sub2, sub3, sub4, sub5). What is the best solution to avoid this problem? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---