Hi,

When I render a CheckBoxGroup or a Radiobox group and I apply a label
to whole widget (independent of the labels for each of the choices), I
get something like this:

<label for='element_0'>Group Label</label>
<ul>
<li><label for='element_0>Choice 0</label><input id='element_0'
type='checkbox'></li>
<li><label for='element_1>Choice 1</label><input id='element_1'
type='checkbox'></li>
<li><label for='element_2>Choice 2</label><input id='element_2'
type='checkbox'></li>
</ul>

The problem is that because the top label has the attribute
"for='element_0'" if you click on it, it activates the first check box
(id='element_0').  I'd like to stop this functionality from happening,
but I can't find where to change the rendering for the group label,
without affecting the labeling of each individual input.

Any ideas or suggestions?

Mike
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to