Validate with single array rather than multidimension