Required validator detect empty strings