Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PEAR] QuickForm: setting checkbox when editing
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

Report this thread to moderator Post Follow-up to this message
Old Post
Justin Patrin
05-27-05 01:59 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Pear archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:19 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.