Hi, I turning crazy with something which seems relatively easy but isn't (for me). I want to create a dropdown (aka <select><option><option></select>) in a form. To do this, I use a forms.ChoiceField (label="Categories",required=True, choices=catz)
I'd like to have some choices in this drop down to be "disabled" to create a kind of classification in this drop down. -- Root -- Disabled --child one -- not disabled --Root 2 -- Disabled --childtwo -- not disabled etc. Is there any way to do this easily ? I think choiceField doesn't allow to pass extra attributes isn't it ? Best regards, Pierre --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

