validate length of creating category in articles edit page.