Limit Textarea

Is there a way to check the number of characters (say 400 characters) inputted in textarea. I know it could be done on client side but I want it to validate on server-side and if it exceed the limit it should throw an error.

View Replies