Hi,

I wonder if there could be an integration with webforms.
I found a module that alows a selection of a product in a webform, however this completely the opposite of what I currently need...
I've seen a module for Ubercart that makes it possible to plug a webform in the checkoutpages, but apperently there is not yet something simmilar for Drupal Commerce. (for the record, I just moved from Ubercart to Drupal Commerce)

Would it be possible to add this to the features of this module?

Regards,

Peter

Comments

pcambra’s picture

I like the idea, could you clarify your use case?

pcdesign’s picture

I have a certain product, if chosen I need some additional information and depending on that some extra options become available.

Its a bit complex so I'll just use an example:
The client can select the checkbox 'I want it to be wrapped as a present', than a listbox becomes available with all sorts of paper.
And ofcourse I would also like to be able to pass this info to rules, so that there might be an extra component fireing on the given (or wathever else you can do with it withing rules after saving an order).

Within webform you have already the features like 'conditionals' and 'validations', but they don't work when u insert the webform in a pane as a node (I used the 7x.4 branch with conditionals integrated)

I tried and included a webform (wich is a single node), however the code of the conditionals did not work an all fields were just exposed.
Also i saw that funny anough if you use the 'submit' button on the webform, if you clicki it you accually just submit the pane and just go to the next step and lose all data without accually submitting the form itself (it would be best I think just to strip it from the pane if possible, its useless and confusing for customers). In the next step you just get the webform again, als empty and ready for submission of data.

I kind of thougth that the biggest issue won't be getting the fields into the pane, rather than be able tu use the conditionals (and the form validation, etc.) and pas on the information somehow (or submit the webform and link it somehow)

Any toughts on this?

zkrebs’s picture

Has anyone accomplished this?