Clarification needed for function CheckBox
That CheckBox function behaves exactly the other way around than I would expect it. Could anybody enlighten me and help me find the correct point of view in order to understand why it is working like that?
$Sender->Form->CheckBox( 'TestFieldTrue', 'Test Field True', array('value' => true) // Shows an unchecked checkbox ); $Sender->Form->CheckBox( 'TestFieldFalse', 'Test Field False', array('value' => false) // Shows a checked checkbox );
If I use
array('value' => $Sender->Table->Column) I get unchecked CheckBoxes in my form for value 1 and checked CheckBoxes for value 0 and I don't know why it is done that way...