Re: Quickform group rules

From: Date: Sun, 08 Nov 2009 10:55:44 +0000
Subject: Re: Quickform group rules
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30128@lists.php.net to get a copy of this message
On Sun, Nov 08, 2009 at 11:51:47AM +0300, Alexey Borzov wrote: > >BTW: I am using HTML/QuickForm.php on PHP5 (I have had to patch lots of > >things > >to get rid of the warnings) > > Sure you haven't broken anything? I don't think so, but .... > That should be done via addGroupRule() after adding the group. Thanks > Basically you've added a couple of fields to a form via addElement() and > then added the same fields to a group *again*. I'm not sure that > HTML_QuickForm is smart enough to detect and handle that. I think that I have tried that, I'll try again. > Consider using HTML_QuickForm2 instead, especially if you want to get rid > of E_STRICT error messages. It *will* detect such things and won't add one I am using smarty - I can't see the smarty renderer. It might be simpler to port that to PHP5 & QF2. Also I am running on CentOS - which has php-5.1.6, quickform2 needs php > 5.2. I would have liked to use HTML_QuickForm2. Regards -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Past chairman of UKUUG: http://www.ukuug.org/ #include <std_disclaimer.h>

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