Download & Extend

Webform View Reference value not saved on submit

Project:Webform View Reference Component
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

I have a Webform View Reference in my webform and when the form is submitted the value is not saved to the form results. I have tried a select menu and radio button but neither works. Just trying to get this sorted out unless I am misunderstanding how this is supposed to work?

AttachmentSize
2011-06-27_12-51-37.png55.96 KB

Comments

#1

Same here,

Webform 6.x-3.11
Webform View Reference Component 6.x-1.x-dev
Views 6.x-2.12

#2

After another look at this one, I believe the value is saved, for some reason it just does not show up in results at: /node/[nid]/submission/[sid] but it does indeed show up at: /node/[nid]/webform-results/table

#3

Category:support request» bug report
Priority:normal» critical
Status:active» needs review

Found out the #theme function pointed to in viewselect.inc:_webform_display_viewselect() did not exist, which causes no data to be rendered during emails and other non-table/CSV displays.

Patch attached which defines a proper theme callback and implements that callback. Patch applies to the following release of the module:

; Information added by drupal.org packaging script on 2011-02-25
version = "6.x-1.x-dev"
core = "6.x"
project = "webform_viewreference"
datestamp = "1298620715"

Hopefully this helps someone else out!

AttachmentSize
webform_viewreference-1201524.patch 2.21 KB

#4

Tried it out using a view with multiple-selections. However in the results, the field:
- does not show up on individual submission
- does not show up in analysis
- only shows up in table

I am using the latest dev version with the patch.

Any ideas? Thanks

#5

Hi all

I also tried this module with the patch [#3]
but I confirm that user options ARE NOT stored....

Thanks

#6

Values are stored ONLY if they are unique.

In other terms :

  • checkboxes results ARE NOT stores
  • radiobutton unique choices ARE stored

In field options, 'multiple' can't be use...

This issue seams to be related in others threads...

#7

Component:User interface» Code

The patch at #3 has been failed against the 6.x-1.x-dev branch. It's made the module to show all view rows on submission page while not respecting the selected ones in my case.

Update: Just noticed that the result is the same even in node/%nid/webform-results/table, so the cause might be another issue while this patch is workin' fine.

#8

@arpieb:

Thank you so much for the patch -- it saved my ass! I have been pulling my hair out trying to get this functionality to work.

And thanks to everyone who has contributed to this module's enhanced functionality. Drupal is awesome because of you!

#9

I didn't get it work, but I here is a solution that works out of the box: http://drupal.org/node/308449#comment-2192004 in combination with: http://drupal.org/node/998494#comment-4169024 (for more than 10 views results)

All the best!

nobody click here