Hi Neil,
Pattern validation does not supported by few version of Safari & IE.
I am providing snippet code this will alert user if description length characters are less then required.
To prevent user submit the form with description length less required, you need some custom code.
<script>
jQuery(function() {
if (jQuery('#propertyform textarea#post_desc').length ) {
var minLength = 100;
jQuery('textarea#post_desc').attr('minlength', minLength);
jQuery('#propertyform textarea#post_desc').blur(function() {
var content = jQuery(this).val();
var regx = /(<([^>]+)>)/ig;
plaintext = content.replace(regx, "");
if (plaintext.length < minLength) {
alert('For description you must use atleast ' + minLength + ' characters.');
}
});
}
});
</script>
Thanks,
Kiran