Hi,

it would be nicer to not show the confirmation message of the webform after editing a submission but showing the view of the submission would be nice.

regards pebosi

Comments

quicksketch’s picture

pebosi, keep up the great requests! I'm all ears and the more things we write down the more things we'll get done. :D

pebosi’s picture

Yeah, i'm really surprised how fast you add my requests to the new version, really great work!

quicksketch’s picture

Status: Active » Closed (fixed)

I think #812690: Don't redirect on submission update has provided a suitable behavior for this functionality. Even though it doesn't redirect you to the view state, it takes you back to your list of submissions, which in most cases will probably be where the user started before editing.

quicksketch’s picture

Version: 5.x-2.x-dev » 6.x-3.x-dev

This change was only made to the 3.x branches.

justplaincorey’s picture

Version: 6.x-3.x-dev » 6.x-3.6
Category: feature » support
Status: Closed (fixed) » Active

Is it possible to redirect to a node following the editing of a webform submission? I want the redirect to go to a node where I have a listing of the user's previous submissions already generated.

quicksketch’s picture

You probably should have opened a new issue for this question considering the other one was a specific feature and was already completed. In any case...

You can make Webform redirect wherever you want after completing any form by setting a destination parameter in the query string. For example http://example.com/node/x/submissions/edit/y?destination=node/z would redirect you to node/z after editing the submission. If it's not possible to control the link or make your own, then you can do this through hook_form_alter() and making your own #submit handler. However support for that question is outside the scope of the Webform issue queue.

joecorall’s picture

@quicksketch

Thank you for posting about the "&destination=node/z" parameter. I was looking for a solution to redirect a user when they edit a webform, and was unaware that was possible. That information was very helpful.

quicksketch’s picture

Status: Active » Fixed

I'll mark this one fixed unless we hear otherwise.

Status: Fixed » Closed (fixed)

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