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

CommentFileSizeAuthor
#6 ranking.inc_.patch468 bytesbondd

Comments

ChrisKennedy’s picture

Component: Miscellaneous » Code
Category: support » feature

Hmm that is a good point. I will take a look at fixing that.

Marat’s picture

I noted this and it would be good idea to disable the choices when the maximum is reached may be by using ajax !

julia.rs’s picture

Version: 5.x-1.0-beta6 » 6.x-1.x-dev

I'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.

ChrisKennedy’s picture

Status: Active » Fixed

Okay this should be fixed in CVS now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bondd’s picture

Assigned: Unassigned » bondd
StatusFileSize
new468 bytes

It'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.