Search code examples
phpdrupaldrupal-6cckautosave

How to save node updates switching between the "Edit" and "View" tabs in Drupal 6


Users are complaining of losing there work when switching between the "Edit" and "View" tabs in Drupal 6. I have tried to explain there is a preview button at the bottom but with multiple users constantly getting this wrong I thought it would be best to have a "autosave" on the switch of views.

I tried the Autosave module but doesn't seem to work with my install. Any ideas?

Many Thanks,

Axel


Solution

  • I went for the onbeforeunload and dirty forms option.

    This simply just uses javascript to warn the user that there work is not saved.