Hi, I have just upgraded to this latest release of Webform along with Drupal 6.25. My webforms were working fine until the upgrades. I have two issues:

1) Now, when users submit their reservation form, it's not bringing over the results into the next page. It sends the email with correct information, but the user cannot see their submission.

Example, user fills out form:
Name
Address
phone number
Number of tickets to buy
Clicks Next.

On the next page they see:
Name
Address
phone number
Number of tickets to buy

They do not see the information they input. But it sends the entire information to the email address listed to receive submissions.

2) Related, previously when they clicked submit, it took them to the page where they could see their submissions. Then they filled out information based on the previous "Number of tickets to buy" answers.

Example:
Number of tickets to buy, they checked a number.
If they filled in 5, on the next page it would have 5 lines for the Guest Name & Choice of Dinner, which they would fill out.

Now the next page just shows "Guest Name & Choice of Dinner", but does not give them the 5 lines to fill in, like it previously did.

I have attached the before and after examples.
Thank you for your help.

CommentFileSizeAuthor
Form-After-fill-in.jpg20.41 KBguitarma
Form-Fill-In.jpg21.24 KBguitarma

Comments

quicksketch’s picture

Neither of the things you've described are features provided natively by Webform. It sounds like you have some theming or custom code on your site which broke due to the upgrade.

guitarma’s picture

Is it possible for me to go back to my previous version of Webform? I believe I was using 6.3.1.

quicksketch’s picture

Generally speaking, downgrading modules is not a good idea unless you restore a database backup from before the upgrade. Recent changes have changed the database schema so an old version of Webform running on a newer database structure could cause other unexpected problems.

guitarma’s picture

OK, well, I still think it's Webform itself that is not pulling my info into the next page. As I looked at Webform PHP, it sounds like it was originally created to handle the tasks that the upgraded Webform could no longer do. Except that module is not usable (and quite frankly should be deleted from drupal.org).

So that to me acknowledges that Webform lost some of the functionality it once could do through the use of PHP snippets. I'm not a PHP expert and paid someone a pretty good price to create those snippets for me, and now I have a client who needs to get those forms back online.

Any ideas or suggestions? I am at a loss.

quicksketch’s picture

As I looked at Webform PHP, it sounds like it was originally created to handle the tasks that the upgraded Webform could no longer do. Except that module is not usable (and quite frankly should be deleted from drupal.org).

Yep you've got it right there. Just dumping PHP code into a textarea is always a dangerous thing to be doing. I wrote that module as a bandaid for users upgrading from Webform 2.x to 3.x, when that functionality was removed. When I tried to officially delete it, @crystaldawn took up maintainership instead of letting me remove it entirely.

You can reproduce the functionality of Webform PHP by writing a custom module that extends Webform as described in this handbook page: http://drupal.org/node/1291574

As for fixing your PHP snippet or moving it into a custom module, that's beyond the level of help that I can give in the Webform issue queue.

quicksketch’s picture

Status: Active » Closed (fixed)
guitarma’s picture

Thanks for the reply, quicksketch. That confirmation helped me move on to another resolution. Otherwise, I would've spent more time trying to get it to do what it just cannot do. I appreciate your help!