Hi

I have a multipage webform, and I've ticked the "Page names" under settings to get the slider on my webform.
But the slider highlights the next page break and not the page I'm on. I guess it's because it doesn't take into account that there is a "front"/first page on the webform, which is before any pagebreaks - my webform looks like this:

-First page on the webform (page 0 - no page break)-
--input field on page 0
-Page break 1-
--input field on page 1
--input field on page 1
-Page break 2-
--input field on page 2

On the first page of the webform (page 0) the slider highlights the "Page break 1" .
Is there a way to insert an additional "tab" in the slider for the first page of the webform? Possible this should just use the title of the webform.

Thanks in advance for any help and replies.

Comments

strakkie’s picture

Hi andersiversen,

Its a friday afternoon and English is not my native language so i am having some trouble getting the gears in my head running again but could you explain what you mean with the 'First page on the webform without page breaks'?

If there is no page-break on the first page, it is not possible to move to the other pages of the webform, right?

Please, correct me if i am wrong :)!

Greetings,
Strakkie

andersiversen’s picture

Here's an example to clarify:

http://glados.od.dk/testwebform

My thought is that the page breaks are also a kind of "headlines" for whatever comes next. Eg. when the slider higlights "page break 1 - tick it or not" I would expect that I'm shown the checkbox "Tick this if you like". The Slider is one page ahead, because it doesn't take the first page of the webform into account (the one with the text-input field in the example).

Thanks for your quick answer, and I hope my example clarifies what I mean :)

strakkie’s picture

Hi andersiversen,

I have created a patch (attachment of this comment) that will use the node title as the first page shown in the slider. The submit page name is removed.

Could you try this patch to see if it fits your needs?

Strakkie

strakkie’s picture

Status: Active » Needs review
andersiversen’s picture

It works perfectly! :)

Thanks a lot strakkie!

strakkie’s picture

Status: Needs review » Closed (works as designed)

Your welcome.

Marking as works as designed as i didn't change the module itself.

strakkie’s picture

Issue summary: View changes

edit because I used <> for the input fields, which is removed by the filter