I am learning jQuery and PHP to create my own form validation. I have read several tutorials but I do not see any consideration or notation in regards to capping the maximum length? I did see minimum length requirement suggestions but I wanted to know if this was a best practice to limit the maximum allowed characters.
Does this sound good?
- Email address = 25 characters
- Name = 20 characters
- Message = 200 characters with a notation that there is a max.