
How do you address the id of a html element inside a repeating section?
For example, here's a simplified version of using for from the wiki article on CSE:
<input id="mod" name="attr_mod" type="checkbox" value="1"> <label for="mod">Checked?</label>
When this is outside a repeating section, you see correct behaviour: if you click the label, the checkbox is clicked or unclicked.
What's the syntax for this to work inside a repeating section? Prepending the repeating section doesnt work (and where would you assign it?).
The only way I've found so far is the old nesting method:
<label>Checked?
<input name="attr_mod" type="checkbox" value="1">
</label>