QFAMS with QF 3.2.5

From: Date: Wed, 14 Sep 2005 12:28:49 +0000
Subject: QFAMS with QF 3.2.5
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39814@lists.php.net to get a copy of this message
Hello QF leaders, abbrev: QF = HTML_QuickForm QFAMS = HTML_QuickForm_advmultiselect As i'm not 100% sure of my purpose, i'd prefer to ask before open a new bug ! Recently, i've worked again with QFAMS 1.0 and Opera 8, and discovered the bad new (see pear.general mailing list), but also find that my custom example 4 [1] raise a notice error. "Notice: Array to string conversion in [...]HTML\QuickForm\Rule\Required.php on line 39" I've investigated to see that origin of change (since QF 3.2.5) is to solve bug #3865 ( http://pear.php.net/bugs/bug.php?id=3865 ) My Question: 1. Is my example a bad implementation ? i used addRule() for a QFAMS element; see especially line 115 [2] 2. Is it a wrong fix that does not allow such array (single/not in group) element ? [3] 3. Other : please explain ! Thanks in advance ! Laurent [1] http://cvs.php.net/co.php/pear/HTML_QuickForm_advmultiselect/examples/qfams_custom_4.php?r=1.3 [2] http://cvs.php.net/co.php/pear/HTML_QuickForm_advmultiselect/examples/qfams_custom_4.php?r=1.3#115 [3] http://cvs.php.net/diff.php/pear/HTML_QuickForm/QuickForm/Rule/Required.php?r1=1.3&r2=1.4&ty=u

« previous php.pear.dev (#39814) next »