Closed (fixed)
Project:
Webform
Version:
6.x-2.1.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2008 at 16:30 UTC
Updated:
22 Oct 2008 at 20:13 UTC
I created a new webform and added a grid to the form however after submitting the form the grid values aren't retained. I can't see them in analysis (everything reports as 0 answered) and if I edit the submission none of the grid radio buttons are selected.
Comments
Comment #1
quicksketchCould you list the configuration of your grid component? It works fine for me in my testing scripts.
Comment #2
sylvaingirard commentedSame problem here.
Got a grid with:
Label: Opties
Options:
airco|Airco
leder|Leder
Questions:
Ja
Nee
Fieldkey:
opties
Comment #3
sylvaingirard commentedThe solution is to switch the data from options/questions.
Comment #4
quicksketchAre you saying this was a configuration error or a bug that is in the code? I'm not quite sure where the problem exists still.
Comment #5
jhanney commentedI have the same problem here as well. I've setup a very basic grid and the data from the grid isn't being saved. I checked out the database as well and the data column in the webforms_submitted_data is empty.
I am using version 2.1.3 of webform
Just got it working by using the new grid.inc file :)
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/com...
Comment #6
quicksketchSo, then, this problem is already fixed? I just need to make a new release.
Comment #7
daniorama commentedNew grid.inc is not solving it. I just try submitting an old form and it didn't work. Should I create a new grid field on that form or should I just create a new form (creating the form again would be tedious...)
Comment #8
daniorama commentedOk, sorry, it's working. It was just a problem with my WYSIWYG editor... There was no need to create new fields or forms, it works ok with old grid and forms. Thank you (I think this issue was solved also in the last dev version in releases)
Comment #9
daniorama commentedComment #10
delamination commentedThe grid component does not store all data if a question includes quotes. The grid data seems to be processed from the bottom up, so options below the question with quotes are stored, but options above and including it are not.
Comment #11
quicksketchdelamination: I've reposted your request here: #318692: Grid not saving if options contain quotes, as it is a different issue than the one described here.
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.