Re: HTML_QuickForm_select::setChecked() problem

From: Date: Tue, 02 Mar 2004 14:10:56 +0000
Subject: Re: HTML_QuickForm_select::setChecked() problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11052@lists.php.net to get a copy of this message
Hi! Alex Housley wrote:
Any ideas why the following doesn't set this radio button to checked?
It does set, though the value gets updated when you add the element to the form.
require_once 'HTML/QuickForm/radio.php'; $radio =& new HTML_QuickForm_radio('profile', null, 'Create new profile', 'new'); $radio->setChecked(true); $form->addElement($radio);


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