Added enum name validation to category details page, updated error
message.