If we want to foster good decision-making we need to add an option to allow users to submit choices to the decision. This could be a separate permission or there could be some sort of moderation mechanism.

Comments

anarcat’s picture

Priority: Normal » Minor

We will probably not address this before the next release unless someone else wants to tackle this or if Chris does it *and* we take time to merge it.

anarcat’s picture

Title: Option for user-submitted choices » 2.0 - Write-ins - option for user-submitted choices

This was implemented in Advpoll.

anarcat’s picture

#632500: Write-in support has been marked a dupe of this.

nschloe’s picture

subscribe

Marat’s picture

subscribe too

aitala’s picture

I would also be interested in this feature.

Thanks for a very useful module.

Eric

nschloe’s picture

If I see things correctly, this is the only thing the Advanved Poll Module has and Decisions doesn't. Considering the fact that Advanced Poll doesn't seem to be well maintained anymore (no commit for a year, 6.x version stuck it dev state, XHTML errors,...), this is the only reason I can see why there's still so many more downloads on their side as compared to the Decisions usage stats, i.e., people being stuck with a half-cooked module (e.g., me :) ).

--Nico

polskikrol’s picture

Having Write-In functionality would definitely help this module be the one of choice for setting up such items as board elections, etc on drupal sites. Should probably be addressed for Version 2.0.

polskikrol’s picture

Assigned: Unassigned » polskikrol

Started working on a patch to enable this option...
- Per node ability to select 'Enable answer write-in' enabled/disabled under 'Decision settings'
- New database update via alter to put in the new configuration setting. (Will be using function decisions_update_6002 in 'decisions.install'.)

Will work tomorrow on the AJAX submission piece. Only issue I see currently is whether to allow a user to remove an added option. By default, the added answer option will be the one the user votes upon. Would need some logic to remove the added user if the user cancels their vote and no one else has already voted for the added user. A future addition would also be the ability to force the writein option to a set of particular values. For example, if performing voting on a user, locking the selection of a writein to any registered username within the site. This may prove to be a little complicated, thus for now just focusing on the writein of an 'answer' via a text field.

nschloe’s picture

This is great news!
Is there any code for testing yet?

ricks03’s picture

Component: Code » Code - Base Decisions module

subscribe