Webform 4.x support should cover the following points (crossed out points are done in webform_steps-7.x-2.x):

  • Use webform4's progressbar but make the steps clickable.
  • Still support webform3 - aka backport the progressbar
  • Provide a migration of fieldset titles to pagebreak titles and the progressbar_label_first variable
  • Extend the default template so that it supports all the use-cases that webform_steps-7.x-1.x supports.

Original report

Hi,

I have used Webform Steps module with Webform 3.19 and it seemed to be working pretty well. It wasn't so perfect with the 4-th Webform, though. There are several navigation lags. For instance, it is not possible to move back to the first step when you are several steps ahead, and it is not possible to switch to the first step at all, even when you are located at the second one. I've just tested the module on a clean Drupal installation and found out that internal back navigation (6 -> 4 and so on) does not work correctly, either. And the previously mentioned issue, about the steps appearing at the bottom instead of the top, also takes place.

I'm gonna try to debug the code and find the reason on my own, just wanted to inform you about these issues. Should I succeed, I will post the results here.

Thank you.

Comments

torotil’s picture

Hi,

thanks for your report. Webform 4 is currently not yet supported. I've already plans on how to achieve that, but it will be a few months before we'll see a webform 4 compatible release of webform_steps.

smallaxe’s picture

@EternalLight, @torotil; was wonder whether there is any update to this thread, would be happy to contribute some coding time to address some of the issues if possible. Is there a work-in-progress build anywhere?

torotil’s picture

So far I've not begun work on a webform 4 version of webform_steps. Perhaps it needs to be a full rewrite though:

  1. Webform now has it's own steps. They are not clickable. We'd need to modify those to be clickable instead of displaying additional steps.
  2. Webform has it's own setting for configuring the label of the first step. We should support this setting.
  3. The way webform_client_form_pages() has changed. So the step-submithandler needs to be modified too.
torotil’s picture

Title: Switching issues with Webform 4.x » Support for Webform 4.x
Version: 7.x-1.0-alpha4 » 7.x-2.x-dev
Category: Bug report » Feature request
Issue summary: View changes

I've given webform4 support a first shot. If you want you can test the 7.x-2.x branch.

torotil’s picture

Status: Active » Fixed

There is now a first alpha release of webform_steps-7.x-2.x.

Status: Fixed » Closed (fixed)

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

eigentor’s picture

I tried the latest 2.1 release with Webform 4.6 from Sep 21 2016 as it is newer than the 2.x-Dev Release.
As the readme says it must be automatic without settings, I guess it should just be there.
Am I using the wrong release?

torotil’s picture

Hi :) thanks for your contribution. Would you mind opening a specific issue for the problem you are seeing? webform-7.x-4.x support is up and working on ~25 high-traffic sites over here.