Textarea Minimum Length

You can set the textarea minimum length with minlength=””.

For example, minlength=”5″ to set if for 5 characters. If it doesn’t work as it should, add also required=””.

<form>
    <textarea maxlength="20" minlength="5" required=""></textarea><br><br>
    <input type="submit" value="Check"></input>
</form>

Output: