This may seem silly, but bare with me. I had a paper grid questionnaire that I was transferring to this module, with a series of questions like this:
Topic A relevance: 1 2 3 4 5
- Helpfulness: 1 2 3 4 5
Topic B relevance: 1 2 3 4 5
- Helpfulness: 1 2 3 4 5
etc.
I was stumped for a while when some of these questions "disappeared" from my form after I entered them. It may seem obvious that you can't have multiple questions called "- Helpfulness", but sometimes when transferring data mindlessly like this, it fails to hit you. I was frustrated for quite a while trying to bug hunt, before the obvious hit me. I would advise that Drupal give an error message if someone tries to enter duplicate questions in a grid as I did.
Comments
Comment #1
quicksketchAh, right. I actually just recently added this code to the select.inc file, we could easily copy that over to grid.inc to provide the same validation.
Comment #2
quicksketch#244172: Error message if several identical option keys for reference where this same code was added to select.inc.
Comment #3
quicksketchThe 2.x version is no longer receiving development, moving to 3.x.
Comment #4
Renee S commentedThis problem still exists in 6.x-3.x -- in the */submission/* view "duplicate" values are suppressed even though they have different keys. Confusing...
Comment #5
danchadwick commentedClosing for lack of activity and 6.x development
Comment #6
danchadwick commented