The functionality "Maximum choices" in a ranking poll works well. If someone tries to select more choices than the limit, they get an error message. But is there a way to limit the select list on the poll to the accepted options?
Let's say I only authorise 5 answers, why is the select list offerring me 6th, 7th, 8th, etc.?
Thank you
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | ranking.inc_.patch | 468 bytes | bondd |
Comments
Comment #1
ChrisKennedy commentedHmm that is a good point. I will take a look at fixing that.
Comment #2
Marat commentedI noted this and it would be good idea to disable the choices when the maximum is reached may be by using ajax !
Comment #3
julia.rs commentedI'm having this problem, too. It looks like another ranking option is added for every previously cast write-in vote, and that even setting the maximum limit to something less than the total number of choices doesn't prevent the additional options from being added as write-in votes are cast.
Comment #4
ChrisKennedy commentedOkay this should be fixed in CVS now.
Comment #6
bondd commentedIt's bug because typo in ranking.inc.
Without this patch form with 330 choices give page larger then 3 Mb. With patch it only 200 kb.