can we set max length for text RTE.??
I did found few solutions online stating that we can adding property directly as
function(field){
var temp=this.getValue();
if(temp.length>500){
this.markInvalid("Description should not exceed 500 characters");
return false;
}else{
this.clearInvalid();
return true;
}
}
(or)
by creating a custom listener.?
which is the best approach ?