you can try to use the
html5's maxLength tag, or user Quip's hook for the server's validation.
The
quip's doc doesn't tell much about this, and
the api would be hard to follow by new comers, but the script works just the same as the
FormIt's hook, as they comes from the same author and using the
similar classes.