       # if Form.isBulk()
       #   Form.setUpBulkFields()
 
-      if Form.isReactive()
-        Form.setUpReactivity()
+      # if Form.isReactive()
+      #   Form.setUpReactivity()
 
       if @data.docPromise?
         Q.when(@data.docPromise).then => Form.mergeLatestDoc(@)

        # If no result is provided, prevent the form submission from refreshing the page.
        return (result ? false)

      onSuccess: (operation, result, template) ->
        args = arguments
        formTemplate = getTemplate(template)
        console.debug 'onSuccess', args, @
        AutoForm.resetForm(name)
        onSuccess = formArgs.onSuccess ? formArgs.hooks?.onSuccess
        result = onSuccess?.apply(@, args)
        callback = => formTemplate.settings.onSuccess?.apply(@, args)
        deferCallback(result, callback)

      onError: (operation, error, template) ->
        Logger.error('Error submitting form', operation, error, template)
        onError = formArgs.onError ? formArgs.hooks?.onError
        onError?.apply(@, args)
        throw new Error(error)

      beginSubmit: (formId, template) ->
        getTemplate(template).isSubmitting = true
        Form.setSubmitButtonDisabled(true, template)

      endSubmit: (formId, template) ->
        getTemplate(template).isSubmitting = false
        Form.setSubmitButtonDisabled(false, template)

    if formArgs.hooks?

      # callbacks.
      onSubmit: (insertDoc, updateDoc, currentDoc) ->
        args = arguments
        template = getTemplate(@template)
        console.debug 'onSubmit', args, @
        onSubmit = formArgs.onSubmit ? formArgs.hooks?.onSubmit
        result = onSubmit?.apply(@, args)
        callback = => template.settings.onSubmit?.apply(@, args)
        deferCallback(result, callback)
        # Perform logic for submitting bulk forms.
        if Form.isBulk(template)
