Code Comments
Programming Forum and web based access to our favorite programming groups.On 5/20/05, Stowe, Nola <NStowe@thettgroup.com> wrote:
> Sorry for the double post, my bad, learning to use the newsgroup software=
.
>=20
> I used the advcheckbox and that worked fine. Don't know what the problem =
was
> with checkbox.
>=20
> Could you give me an example of using the setChecked method please?
$el =3D& $form->addElement('checkbox', 'name');
$el->setChecked(true);
>=20
> Thanks Justin!
>=20
> -----Original Message-----
> From: Justin Patrin [mailto:papercrane@gmail.com]
> Sent: Thursday, May 19, 2005 11:05 PM
> To: Nola
> Cc: pear-general@lists.php.net
> Subject: Re: [PEAR] QuickForm: setting checkbox when editing
>=20
> On 5/18/05, Nola <nola@devasap.com> wrote:
he
>=20
> setDefaults should work fine. If it doesn't, try using setChecked on the
> checkbox.
>=20
--=20
Justin Patrin
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.