Closed (fixed)
Project:
Webform
Version:
6.x-3.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2008 at 08:27 UTC
Updated:
31 May 2011 at 01:01 UTC
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
Comment #1
quicksketchpebosi, keep up the great requests! I'm all ears and the more things we write down the more things we'll get done. :D
Comment #2
pebosi commentedYeah, i'm really surprised how fast you add my requests to the new version, really great work!
Comment #3
quicksketchI 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.
Comment #4
quicksketchThis change was only made to the 3.x branches.
Comment #5
justplaincorey commentedIs 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.
Comment #6
quicksketchYou 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/zwould redirect you tonode/zafter 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.Comment #7
joecorall commented@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.
Comment #8
quicksketchI'll mark this one fixed unless we hear otherwise.