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

quicksketch’s picture

Ah, 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.

quicksketch’s picture

#244172: Error message if several identical option keys for reference where this same code was added to select.inc.

quicksketch’s picture

Version: 5.x-2.6 »

The 2.x version is no longer receiving development, moving to 3.x.

Renee S’s picture

Version: » 6.x-3.x-dev

This problem still exists in 6.x-3.x -- in the */submission/* view "duplicate" values are suppressed even though they have different keys. Confusing...

danchadwick’s picture

Issue summary: View changes

Closing for lack of activity and 6.x development

danchadwick’s picture

Status: Active » Closed (won't fix)