I thought it would be useful to have the option to automatically open the most recently saved draft when you open a form instead of having to click "View" to load the saved values.

I think it would be easier for users and it would save them the extra click.

CommentFileSizeAuthor
#1 autoload-draft-1133244-1.patch451 bytessdragnev

Comments

sdragnev’s picture

Status: Active » Needs review
StatusFileSize
new451 bytes

I'm attaching a patch that automatically triggers the "View" function if a draft exists.

Note that this does not add the option to automatically show the draft - it replaces the default behaviour.
It's just a one line "click" call on the View link.

sdragnev’s picture

Status: Needs review » Needs work

The patch above automatically reloads the latest revision, however, this disables the autosave function until the user presses "Keep".

Have to modify to change from "Autoload" to "Autoload + Keep".