Hi All,

I have a multipage webform where users may come back and edit their submissions, but not all pages need to be seen by the user when returning to their submission.

To put it in context:
Page 1: personal information,
Page 2: select a day,
Page 3: show a set of components based on that day.

If it's a new submission, the users needs to go through all 3 steps. When users return to edit their submission, I want to skip page one since their personal information is already collected.

My question is: is there any way to load a multipage webform submission edit form starting at a specific page without having to submit each page to get to it?

I've tried quite a few solutions including lots of form altering, and making a custom menu callback and trying to programatically skip a page, but I just can't get it to work. Any tips appreciated.

Thanks!

Comments

quicksketch’s picture

There isn't a way to do this. We may eventually make it possible to skip the first page via a progress bar, but even then clicking the "Edit" link when viewing previous submissions would always go to the first page. I can't think of a way to even present a UI to offer an option doing what you've described, and it's probably not common enough to address anyway. I'd suggest following these two issues if they'd get you close enough:

#335480: Set separate URL for each page of Multi-Page Forms (Funnel Tracking)
#258696: Multipage form - Page n of n (progress or percentage complete)

skh’s picture

Status: Active » Closed (duplicate)

Thanks, went fapi way as the client's request was particularly unique.

golchi’s picture

Hi All,
I have a similar situation here; a form of 52 questions (many multichoices, etc.) break down to almost 12pages; so it is very annoying when you just want to change something on the last page :-)

- One suggestion will be to display the page breakers as "pagination links" (1,2,3,4, last) or
- have a kind of "go to X page" style.

I have not thought of the technical part though...

In my case, having even the "submit" button on the first page while editing will have been enough.

Best