Yes, tried that and it returns an error
Fatal error: Call to undefined method HTML_QuickForm2_Element_InputCheckbox::setChecked()
Cant figure this out as I have
at the top of the page so would have expected it to have found it.
I have also tried instantiating and echo a new object
$checkbox = new HTML_QuickForm2_Element_InputCheckbox(null, null, array('checked' => 'checked'));
This returns the checkbox but it is still unchecked.
Any thoughts appreciated.