Currently, the input boxes in the Create Project page do not provide any feedback when the entered text does not meet the specified minlength or maxlength constraints. We need to implement error messages when these constraints are violated.
Show the error message below that particular input box.
Requirements
- Minlength Error: If the text entered in the input box is shorter than the defined
minlength, an error message should be displayed indicating that the input is too short.
- Maxlength Error: If the text exceeds the defined
maxlength, an error message should be shown indicating that the input is too long.
Acceptance Criteria
- When the user inputs text:
- If the text length is less than
minlength, show an error message: "Input is too short. Minimum length is X characters."
- If the text length exceeds
maxlength, show an error message: "Input is too long. Maximum length is Y characters."
- The error message should disappear once the input meets the constraints.
Additional Information
- Use red text or an error icon below to the input box to make the error more noticeable.
- Ensure that the error messages are clear and concise.
Currently, the input boxes in the Create Project page do not provide any feedback when the entered text does not meet the specified
minlengthormaxlengthconstraints. We need to implement error messages when these constraints are violated.Show the error message below that particular input box.
Requirements
minlength, an error message should be displayed indicating that the input is too short.maxlength, an error message should be shown indicating that the input is too long.Acceptance Criteria
minlength, show an error message:"Input is too short. Minimum length is X characters."maxlength, show an error message:"Input is too long. Maximum length is Y characters."Additional Information