Validate input from Array, useful with GET/POST and Forms