Using the custom form validator in category controller.