Prevent users from navigating away from unsaved data?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by pwolanin on September 2, 2008 at 3:14pm

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

Posted by George2_ on September 3, 2008 at 12:47pm

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

Posted by eigentor on September 9, 2008 at 1:52am

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

Posted by catch on September 13, 2008 at 6:40am

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?

Posted by Shannon Lucas (not verified) on September 16, 2008 at 1:23pm
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

Posted by drumm on September 18, 2008 at 6:46am

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?

Posted by markpeak on September 17, 2008 at 8:13am

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

Node Edit Protection Modul

Posted by sreher on July 28, 2010 at 3:20pm

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

Posted by vulfox on April 20, 2015 at 4:39pm

That module doesn't work for forms with Ajax.

There are 2 issues that might

Posted by paean99 on April 20, 2015 at 5:15pm

Usability

Group organizers

Group categories

UX topics

Group notifications

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

AltStyle によって変換されたページ (->オリジナル) /