Because I'm using a webform submit to trigger some other code, I'd like to add a user preview of the submitted values before triggering the form submit.

Guess I could do this with a page break and code that reads and formats the $form_values['submitted_tree'].

Are there any other options I'm not thinking of?

Comments

Anonymous’s picture

I'm also looking to do something like this.

Any progress?

sanguis’s picture

Version: 5.x-2.1.3 » 6.x-2.2

Dito and bump

quicksketch’s picture

Status: Active » Closed (fixed)

There's no easy way to solve this currently in Webform. I can't think even of an adequate custom PHP solution, since Webform doesn't have any way of outputting submissions (it re-uses the existing form and prepopulates the values). Since this hasn't been updated since October, I'm closing directly. Please reopen if you have further questions.

chromix’s picture

Component: Documentation » User interface
Category: support » feature
Status: Closed (fixed) » Active
Issue tags: +preview

I'm going to re-open this as a feature request because I know our group could definitely use this functionality.

taxicab221’s picture

I would also like to know if this feature could be include.

Like many multi page form on the web, there is normally a 'preview button', to check your submissions before committing the form.

Is there any code that could direct the user to view their submission, via the results tab of the create webform, automattically sending them to the view of the results page of their submission, , and adding an 'UPDATE BUTTON' at the bottom of the outputted form.

liquidkrep’s picture

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

Has there really not been anything going on regarding this feature? I would love to see it in Drupal 5 if possible.

quicksketch’s picture

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

No new features are being added to the 2.x version, so this will never happen on Drupal 5. I'm moving this to the 3.x version which will be on D6/7. As I mentioned in #3, Webform doesn't have any way of outputting data currently, but we're working on fixing that in #181077: Printable page for webform submissions, which might make this more feasible.

quicksketch’s picture

Status: Active » Closed (duplicate)