As far as I know, there is no HTML tag to associate a label with a group of RadioButtons. However, for the sake of consistensy, I would like to use ActiveLabel to display the name of the associated attribute.
Unfortunately, ActiveLabel does produce an incorrect reference in its for attribute. The validator then says "reference to non-existent ID" and my page is not valid XTML.
Is there a way to tell ActiveLabel not to output a for attribute? (Or any other simple and Yii-style way to get around this problem?)
But I can’t make it to omit the for attribute. Setting it to ‘for’=>null creates a for with the standard target. Setting it to ‘for’=>’’ creates a for="", wich is not valid.