             _.each modifier.$set, (value, key) -> delete modifier.$unset[key]
           delete modifier.$set._id
           modifier
-      AutoForm.addHooks name, hooks
+      AutoForm.addHooks formId, hooks
+
+    Setter.merge hooks, formArgs.hooks
+    Form.addHooks(hooks)
 
     ################################################################################################
     # HELPERS

        template = getTemplate(@template)
        Form.updateDocs(template)
        Form.setUpDocs(template)
        onSuccess = formArgs.onSuccess ? formArgs.hooks?.onSuccess
        successResult = onSuccess?.apply(@, args)
        callback = => template.settings.onSuccess?.apply(@, args)
        deferCallback(successResult, callback)

        unless formArgs.loggerNotify == false || settings.loggerNotify == false
          Logger.error(error.message)
        Logger.error('Form error', operation, error, template, {notify: false})
        onError = formArgs.onError
        onError?.apply(@, args)
        settings.onError?.apply(@, args)

