If the option "Automatically save as draft between pages" is selected, drafts are created for anonymous users. This results in abandoned drafts piling up in the results. The Save Draft button does not appear for anonymous and neither should drafts automatically be created.

#1 webform_1890422_no_anon_draft.patch724 bytesLiam Morland


Status:Active» Needs review
new724 bytes


Status:Needs review» Needs work

I'm not sure this is a bug really, in my situation I really want draft's to be saved (they are redirected to another site and return half way through the pages with some extra data to complete)

Status:Needs work» Postponed

Can you explain why you are marking this postponed? Your use case sounds like a niche. Many people will be effected by abandoned drafts piling up.

I dont think it's a niche, nothing niche about anonymous people submitting forms.. think they should just be expired after X hours instead of not working at all

I think it is niche to redirect a user to another site while completing a form, as you describe in #2.

I think this patch should go in as-is to fix the immediate problem. If someone wants to later write more complicated draft expiry, then that can be a separate issue.

Status:Postponed» Needs review

I agree with Liam here. Anonymous users don't have the ability to resume their drafts, so we shouldn't be automatically saving them between pages. The complete problem around anonymous users should be handled in #1932560: “Save draft” form button for anonymous users.

Status:Needs review» Fixed

Committed #1. Let's followup on anonymous users in the other issue.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.