When viewing the results of a webform that contained checkbox/radiobutton selections, it will not be shown correctly. When I "View" a particular submission, it will either show that nothing was selected or in the case when all were selected, will only show one. But it will not always show that one all the time, it changes. "Edit" acts the same way. When I use the "Table" view, it will show that infact all options for that question has been selected. Though for reasons unknown, one particular question shows a blank result all the time.

Comments

quicksketch’s picture

Could you post the contents of your "Options" field for the select component that is making the checkboxes? It could be something weird with the way webform tries to cleanup form values.

neruocomp’s picture

Sorry for the long wait, being interm sysadmin is demanding of this poor undergrad. anyways:

Checkbox selection:
LC/MS/MS w/CID & MASCOT DB Searching ($100 ea.)
LC/MS/MS w/ETD & MASCOT DB Searching ($100 ea.)
LC/MS w/MASCOT DB Searching OR molecular mass (& formula) determination ($100 ea.)-coming soon

And

Consultation (1st hr free, then $200/hr)
PEAKS De Novo Sequencing Report ($TBD)-coming soon
SCAFFOLD Report ($TBD)-coming soon
GPMAW Report ($TBD)-coming soon

Drop selection:

None
Trypsin Proteolysis ($25 ea.)

For the checkbox selection, I cannot see the results in the view page, but in the table page, and then sometimes they come up blank there also. As for the Drop selection, it shows up in the view page, but only sometimes in the table page. The sporadic occurrences maybe due to the fact that the page has been changed a few times as the user updates it. And for those curious, this is a form for protein searches.

Quick note: Checking the analysis page, it does that these options have been selected, so I guess the problem is displaying it correctly.

quicksketch’s picture

Priority: Critical » Normal

Yes, changing the options will definitely cause your results to become skewed. It'll also break viewing any data that was submitted before the changes.

To avoid this, you should use the key|value pairs such as this:

lc_ms_ms_cid|LC/MS/MS w/CID & MASCOT DB Searching ($100 ea.)
lc_ms_ms_etd|LC/MS/MS w/ETD & MASCOT DB Searching ($100 ea.)
lc_ms_mascot|LC/MS w/MASCOT DB Searching OR molecular mass (& formula) determination ($100 ea.)-coming soon

Then you can change the values without breaking the previous submissions (though you still can't change the keys).

Kevin10EC’s picture

I am having this issue as well and cannot figure out what is wrong either. I have 4 questions.

1. A|Memphis
B|UCLA
2. A|North Carolina
B|Kansas
3. A|Conneticut
B|Stanford
4. A|Tennessee
B|LSU

I have the key|value pairs, but the Results page only displays the answer for the last question. I added additional questions, and with the addition of each new question, the results page shows the answer of the latest question added. Can you help?

Andrew

Kevin10EC’s picture

PROBLEM SOLVED . . . My problem was solved after I ran update.php Everything is working fine now.

quicksketch’s picture

Title: Checkbox data does not show up in Results correctly » Changing Select options skews results
Category: bug » support
Status: Active » Closed (fixed)