validation texts to array