I need to set max of 30 character in my custom input. If also possible to show an error message? Thank you