Worked all night on this one, trying to make it to work. It's like 7.40am here.

Have two-page form set up using Webform module. All is ok, except these two specific problems:

1. Email text (when received) lack information from fields from part ONE of the two-page form. That is, all fields are just omitted from the mail, included are only elements and their values from page TWO of the form. I need all fields values from both parts of course.

2. Field "Confirmation message or redirect URL:" just doesn't work with multipage form. That is, confirmation text appeared when I put plain text there, or if I use "internal:...." format this also doesn't redirects me to anywhere. I end up on page TWO of the form with standard description.

If I remove the only "pagebreak" in my form, which will make my form single-page, everything works like a charm.
What's up to pagebreaks? Does anyone know?
Please help, I'm behind the deadline and didn't sleep this night already.

Comments

vipaware’s picture

Oeps, made a small typo in my point two above. Sorry, I'm a bit sleepy now. Here is a corrected version:

2. Field "Confirmation message or redirect URL:" just doesn't work with multipage form. That is, confirmation text doesn't appear when I put plain text there, or if I use "internal:...." format this also doesn't redirects me to anywhere. I end up on page TWO of the form with standard description.

vipaware’s picture

Doesn't anyone have created multiforms with Webform module? Please help! Anybody.

jtjones23’s picture

I've made a 4 page survey. Clicking on submit enters the survey info but will not redirect no matter what I try; internal or external URL or just plain text.

...anyone know the answer?

Drupal 5.2
Webform 5.x-1.4

MySQL 5.0.27
PHP 5.2.3
Apache 1.3.37

jtjones23’s picture

For me anyway...the new version of webform (5.X-1.5) fixed the problem I was having with redirection.

vipaware’s picture

Version 1.5 fixed redirection problem for me too. Actually, I tried 1.x-dev version before 1.5 was out, which also fixed this.
I'm still having problem with form fields from page one. Going to post this as a bug if not already there...

mcantelon’s picture

If webforms is driving you crazy with multi-page forms, try my muliforms module (http://drupal.org/project/multiforms).

-Mike Cantelon
http://mikecantelon.com

vipaware’s picture

Thank you for bringing that in! I will try that module for sure in my next project. Have to fight and win this battle with webform module, because this proj has enormously large two-page form (almost 20 fields) that I managed to create already, with sophisticated "markup" fields which include php, among text (all pages, including confirmation page have different page titles, texts), plus added interoperability with other modules - have a checkbox that initiates the user's subscription if subscribe checkbox is set... such stuff.
This all already works but still have that fields values from page one issue to be worked out - and it's all perfect.
I just don't have time to move this form to a new module, I'm behind the deadline already, worked through nights.
But I am already loving save/load feature found in multiforms!

lunk rat’s picture

Try changing line 187 of webforms.inc from:

  $message .= theme('webform_mail_fields', '', $form_values['submitted_tree'], $node);

to:

  $message .= theme('webform_mail_fields', '', $form_values['submitted'], $node);

It's not pretty but all the pages get into the email.

please reply if you've found a better fix.

Grammarian’s picture

I created a long grocery order form for this site: www.urbanorganic.com and the client complains that they have to print out 3 pages for every form submission. Is there a way to only send the user-completed fields?

Jean Gazis
www.jeangazis.com