Add length validation for title