Hi,

I have a multistep problem too. Here the steps to reproduce:

Make webform like this:

Number-1 (textfield) (required)
Number-2 (textfield) (required)
page-2 (pagebreak)
select something (select) (required) (3 options with radio buttons)
page-3 (pagebreak)
Select-color (select) (NOT required) (3 options with radio buttons)
Select-color-2 (select) (NOT required) (3 options with radio buttons)

Rule 1: Number-1 -> range -> 50-100
Rule 2: Al least 1 must be seleted -> Select-color or Select-color-2

Do webform:
Number 1 = 55
Number 2 = 5
Next page
Select 1 option
Next page ===> Validation Error message

Number-1 must be in range 50-100
1 of the two fields must be selected.

So the first line is a value that I have provided in the 1st page
The second line is for a value that I have to give on 3rd page

I can't go to page 3

Screenshots attached: (linked because error on Drupal site)
1. Fields in webform (http://www.systemsteam.com/multistep1.jpg)
2. Validation rules (http://www.systemsteam.com/multistep2.jpg)
3. Page 1 (http://www.systemsteam.com/multistep3.jpg)
4. Page 2 with validation error (http://www.systemsteam.com/multistep4.jpg)

What do I have to do to make this work?

Thanks in advance
FreeFox

Comments

FreeFox’s picture

Any news on this one?

Greg Varga’s picture

Hi,
got the same issue, but it seems that the $components array is empty on the 2nd page. if it would carry the values over the validation would work.
I will report back if I found anything...

Greg Varga’s picture

See this page for more info: (bottom of the page)
http://drupal.org/node/833500

FreeFox’s picture

Status: Active » Reviewed & tested by the community

With the last modification it works like a charm. Thanks a lot Gergely.

Please commit

svendecabooter’s picture

Status: Reviewed & tested by the community » Fixed

This should now been fixed with #833500: Doesn't work for fields inside a fieldset.
I reproduced your form locally and for me it works perfectly.
Can you get the latest code from git and test if that fixes your problem?

Sven

Status: Fixed » Closed (fixed)

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