Html Quckform constructor

From: Date: Tue, 22 May 2007 18:26:56 +0000
Subject: Html Quckform constructor
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27351@lists.php.net to get a copy of this message
I am trying to create a checkbox, but I cannot seem to have the check in there by default. What am I doing wrong. $form_obj->addElement('checkbox', 'chkTerms', "Blah Blah", array("setChecked" => 1)); Is this correct ? Atif.

« previous php.pear.general (#27351) next »