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
Comment #1
FreeFox commentedAny news on this one?
Comment #2
Greg Varga commentedHi,
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...
Comment #3
Greg Varga commentedSee this page for more info: (bottom of the page)
http://drupal.org/node/833500
Comment #4
FreeFox commentedWith the last modification it works like a charm. Thanks a lot Gergely.
Please commit
Comment #5
svendecabooterThis 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