required validator: whitespace is considered an empty value