I read that UILabelTargetDecorator has been deprecated. If I understood the documentation correctly, matching up an input element's "id" attribute with a label element's "for" attribute is supposed to cause the "for" attribute to be set correctly when the element is rendered without any intervention in the producer. Maybe I've got that wrong because it's not working.
Here's a snippet from my template:
Code:
<p rsf:id="option-row:">
<input type="checkbox" rsf:id="option-checkbox" id="option2"/>
<label rsf:id="option-label" for="option2">options</label>
</p>
What needs to be done to make this work?
Thanks. Jim