Add max length to text fields