You can add an `xxf:maxlength` attribute on `xf:textarea`. This translates to the HTML `maxlength` attribute. But not all browsers support it, see:
http://www.w3schools.com/tags/att_textarea_maxlength.aspFor older browsers, the alternative is to use some dirty JavaScript to prevent input.
-Erik