add min length to titles and string fields