using https://www.drupal.org/project/clientside_validation when Autosave attempts to submit a form with required fields empty, the js validation triggers and autosave can't submit the form because of the js validation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

loze created an issue. See original summary.

loze’s picture

Issue summary: View changes

adding

validate: function(e,o) {
      return true;
    },

as an option with the .autosave() call in autosave.js seems to do the trick.

pperry’s picture

This fix worked for me too. Any chance of getting it submitted as a patch? I would upload one myself but my account isn't confirmed yet.

pperry’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Active » Needs review
FileSize
504 bytes

Patch submission based on loze's suggested solution