Re: QuickForm (QF): trouble with a group of 'file' elements and group rules

From: Date: Wed, 06 Dec 2006 23:12:22 +0000
Subject: Re: QuickForm (QF): trouble with a group of 'file' elements and group rules
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25995@lists.php.net to get a copy of this message
greetings! thank you for the reply. On Wed, Dec 06, 2006 at 11:56:42PM +0300, Alexey Borzov wrote: > Hi, [..snipped..] > > I had a brief look through QuickForm code and doubt that will work at all, > the getSubmitValue() method used by validate() isn't smart enough to return > the proper value for 'images' in this case. :( > ok.. so I need to submit a bug report so other people are not bitten by this unawares, right? > You'll need to add the rules for each upload field separately. > ah.. cool! I had tried not using a group at first, and wasn't having much luck which is why I switched to group rules. I've managed to implement this and the rules *are* being enforced using the suggested method, so I can move on to other areas of this project. thank you for the assistance :) regards, J --- http://zoidtechnologies.com/

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