Required fields validation.