Monday, December 26, 2011

Django - Forms Widget TypeChoiceField - how to set id for two radio buttons

hi everyone. i'm using a form with a TypeChoiceField, this is the form
code: http://pastebin.com/GHttrDyN. now i'm trying to set a custom id
for the two radio buttons displayed but i havent found yet the right
way. maybe it's possible set it during form instantiation (as i set
auto_id=False) in the view, but it's just my assumption, anyway i
haven't find anything helpful on the internet.any idea?

thanx - luke

--
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.

No comments:

Post a Comment