Html QuickFrom question [error placement in array]
| From: | Marc van Duivenvoorde | Date: | Thu, 21 Oct 2004 10:56:02 +0000 |
| Subject: | Html QuickFrom question [error placement in array] | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15011@lists.php.net to get a copy of this message | ||
Hi, I've got a problem with html Quickform which I really need to resolve ..
I'm using groups and grouprules, when there is an error in an element within a group, I would like the error to be inserted into the array of the element itself instead of the group error list.
I've put a file online with an print_r of the array. In the main array there's an errors field containing a pAddress => Vul de straatnaam in. The url of the file is http://www.ymondhc.com/marc/pear-qf.txt
This error actually belongs to the element paStreet in the group pAddress. Now I would really like to have the error placed in
mainarray[elements][4][elements][0][error]
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.
Thanx a bunch
Marc