Add error message for empty title, length restriction.