How do I limit a user to enter only a specific number of characters?