Adding max length field validation