12345678,
на всякий случай
minlength
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
#Message{
color: #ff0000;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() {
let form = document.forms.form3;
let textarea = form.membershortdescription;
let msg_area = document.getElementById("Message");
let count = document.getElementById("count_display");
let min = 51;
form.addEventListener("submit", function(event) {
let {length} = textarea.value;
let correctly = length >= min;
msg_area.innerHTML = correctly ? "" : "Слишком мало символов";
count.hidden = correctly;
correctly || event.preventDefault();
})
form.addEventListener("input", function(event) {
let {length} = textarea.value;
let remainder = min - length;
remainder || (count.hidden = true)
count.innerHTML = count.hidden ? "" : remainder;
msg_area.innerHTML = count.hidden ? "" : "Символов осталось";
})
});
</script>
</head>
<body>
<form action="mypage.php" name="form3" enctype="multipart/form-data" method="post" >
<textarea rows="8" cols="38" name="membershortdescription" id="membershortdescription" class="profileFormSelect" ></textarea>
<br/>
<span id="count_display" hidden></span>
<span id="Message"></span>
<input type='submit' value='submit'>
</form>
</body>
</html>