Improved validation() for validating many array fields