Re: Html QuickFrom question [error placement in array]
| From: | Marc van Duivenvoorde | Date: | Thu, 21 Oct 2004 12:14:41 +0000 |
| Subject: | Re: Html QuickFrom question [error placement in array] | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15014@lists.php.net to get a copy of this message | ||
I didn't expect this, because the manual explicitly says you can put rules on the seperate elements within the group. In my example it should give 4 !!! errors instead of only the first one , and therefore I would expect the error for the seperate elements in the group to be put into the array for that specific element.
Whether or not this is expected behaviour or a bug, where do I fix this so it does do what I want (and need) it to do.
Thanx
Marc
Alexey Borzov wrote:
Hi, Marc van Duivenvoorde wrote:Does anyone happen to know which function or part I need to edit so I can fix this bug. I use the toArray function to place all data into an array and loop it through a smarty template.It's not a bug, it's the expected behaviour: if you want different errors for elements then don't group 'em.