An error will be displayed when you type anything less than five characters in the input field:
In this example, we will display an error if the field contains less than five characters.
Note: If the field is empty, it is considered valid.