Hi,

I've got a multi step form and I've noticed it's being called twice once you click past step 1. This is a problem as $form_values returns with both the correct step data and, frustratingly, the previous $form_values data which causes the switch() statement I've created to cycle through both steps.

Is there a way to stop the form function being called twice? Whatever the method, I'm basically just trying to use the second function call as the $form_values is the desired, latest step array.

Thanks a bunch,
Marc

Comments

hideaway’s picture

I got the same issue, which is the really problem for my tracking system.
I really don't understand why the whole form is pregenerated after first step, when this is NOT done in the next ones.

PS: just to say that I am doing that in D6