Hello,

  Using this widget=SQLFORM.widgets.checkboxes.widget for list of values 
gives the following html code:

<input id="some1" name="something" type="checkbox" value="1" />
<label for="some1">Option1</label>

<input id="some2" name="something" type="checkbox" value="2" />
<label for="some2">Option2</label>

While if INPUT reside inside LABLE it looks better (imho)
<label for="some1">
 <input id="some1" name="something" type="checkbox" value="1" /> Option1
</label> 

<label for="some2">
 <input id="some2" name="something" type="checkbox" value="2" /> Option2
</label>

Same time this change might broke some compatibility. Maybe this behavior 
was made for some reason.
Community, please share your opinion.

Thanks,

-- 



Reply via email to