On 22.07.2009, at 19:53, Michal Charemza <[email protected]> wrote:
> Hi, > > I'm trying to get array length validation for a number of files, each > with the name of "file[]". I have tried the following, but it always > results in 'Error' message no matter if there are files. > > <validator class="arraylength"> <validator class="arraylength" source="files"> Other valid sources for web requests are "cookies" and "headers". File validators automatically use source "files" rather than "parameters", that's why they don't need that attribute in order to work. - David _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
