Support mass edition and category import with the same form type