Had to read it over a couple of times, but the only thing I could lock on to was that '#type' probably wants to be 'checkbox', rather than 'checkboxes'. 'checkboxes' is not a valid form definition.<br>
<br>Best,<br>Will<br><br>