Rogelio's picture

Hi again, when i try to edit a poll, if any poll option has more than 7 votes, i can´t save it, it shows a pop up saying something like "Select a value not major to 7", i have to reduce the votes to 7 then i can save

i dont know if its a wrong configuration by me or its a bug...

 

Thanks for your upcoming help

Accepted answer

Hi there, its a bug. Sorry about that.

For now, you'll need to modify the module directly, till I can push a fix. In poll.module, in function _poll_choice_form() at around line 412 you will find $form['chvotes'] = array(; below that find '#max' => 7, change that to '#max' => ''.

That will fix your issue.

Comments

Hi there, its a bug. Sorry about that.

For now, you'll need to modify the module directly, till I can push a fix. In poll.module, in function _poll_choice_form() at around line 412 you will find $form['chvotes'] = array(; below that find '#max' => 7, change that to '#max' => ''.

That will fix your issue.

Rogelio's picture

thank you friend, problem solved, but #max' => ''.  sent errors, for the moment i put  #max' => 1000

now its fine :)

Future people: it looks like @docwilmot already pushed a new release for the Poll module to take care of this issue.