...
/Implementing Validation on the Answer Form
Implementing Validation on the Answer Form
Learn about implementing validation on the answer form.
We'll cover the following...
Steps to implement validations on the answer form
Let’s implement validation on the answer form. We are going to validate that the content has been filled in with at least 50 characters. To do this, follow these steps:
Open
QuestionPage.tsx
and import theFieldError
styled component:
Press + to interact
import {...FieldError,} from './Styles';
In the ...