Re: Re: upgrade-all broke something

From: Date: Fri, 06 Oct 2006 16:38:10 +0000
Subject: Re: Re: upgrade-all broke something
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25369@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm good point... I inherited this code from a previous developer so I didn't see the typo. Thanks for pointing that out. Trying it now. Nope... still not working. The elements are checked when the form loads... This was working with the last version HTML_QuickForm 3.2.5 stable but not now with HTML_QuickForm 3.2.6 stable Wondering if there's a change in the way I have to call the script? Bertrand Mansion wrote: > Troy Cregger wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> sorry, code is here. >> $t = &HTML_QuickForm::createElement('checkbox', 'ckItem', >> 'Select:', >> null, array('checked' => '', 'onClick' => >> 'javscript:update();', 'class' >> => 'checkbox')); > > I doubt it can work with 'javscript:' ... > > Furthermore, you should use setDefaults() to set the checked status of your > element, but that's up to you. > - -- Troy Cregger Lead Developer, Technical Products. Kennedy Information, Inc One Phoenix Mill Ln, Fl 3 Peterborough, NH 03458 (603)924-0900 ext 662 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJoZynBEWLrrYRl8RAoLVAJ4kBM4MtsB2a75AFhcI5suAkejb2gCfZB2y AhIq/4DCdGvHjjz0Wivu6JM= =D7rP -----END PGP SIGNATURE-----

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