Client-side validation; fixed error message for max length