Prevent users from navigating away from unsaved data?

Events happening in the community are now at Drupal community events on www.drupal.org.
pwolanin's picture

Please give you feedback on this proposed change:

http://drupal.org/node/193799 => Warn before losing changes (e.g.: blocks and menu admin pages)

Comments

i haven't tested this, but i

George2_'s picture

i haven't tested this, but i think in theory it's a good idea, and that also a 'save and edit' (maybe reworded to 'save and continue') button should be added to such forms to allow the user to make backups of long posts, or to create a draft version' that remains unpublished.

Oh yes, save and edit

eigentor's picture

Save and edit button was a feature request of mine quite some time ago... remains needed, especially working with long CCK forms, you absolutely hate it to lose your data due to thoughtlessness or whatever...

Still might be cluttering the interface, you already have save, preview and delete.

Life is a process

Life is a journey, not a destination

revisions

catch's picture

There's active work on separating revisions from node module (and adding diff support in core) here: http://drupal.org/node/120967 - if that goes in, then 'save as draft' or 'save and edit' is likely to become easier to implement. I'd really like to have that too.

Why not auto save draft?

Shannon Lucas's picture

What about automatically saving a draft like Wordpress does? This might require a status distinct from published and unpublished for workflow purposes.

I think this is ideal. It is

drumm's picture

I think this is ideal. It is proactive about preventing the problem instead of adding a dialog that gets in the way. It would require designing and implementing quite a workflow change.

Firefox is quite good about keeping content in textareas after navigation and even crashing. Does anyone know if IE 7 and 8 are going to not lose the data? This will be less of a problem if the browsers are better.

AJAX Form?

markpeak's picture

Is the AJAX form (apply when changed) the final solution for this problem?

Node Edit Protection Modul

sreher's picture

For all you search, but could not find.
In the meantime there is a module for this: http://drupal.org/project/node_edit_protection

Not so good

vulfox's picture

That module doesn't work for forms with Ajax.

There are 2 issues that might

paean99's picture

There are 2 issues that might help with that:
https://www.drupal.org/node/2302683
https://www.drupal.org/node/372730

Usability

Group organizers

Group categories

UX topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: