       template.formDoc = Form.getInputValues(template)
 
     Form.setUpAutosave = (template) ->
-      # TODO(aramk) This is causing the form to submit and remove fields. Disabled for now.
-      return
-
       return unless formArgs.autosave
       template = getTemplate(template)
       $form = Form.getElement(template)

      # event manually.
      $submit = Form.getSubmitButton(@)
      if $submit.closest('form').length == 0
        $submit.click => $form.submit()

      schemaInputs = Form.getSchemaInputs(@)


      _.each docs, (doc) ->
        doc = collection.findOne(doc._id)
        if doc? then latestDocs.push(doc)
      latestValues =
        if docs.length > 1 then Form.getBulkValues(template, latestDocs) else latestDocs[0]
      latestValues ?= {}
      latestValues = Objects.flattenProperties(latestValues)
      mergedValues = {}
