I would find it useful to have a checkbox on the node edit form that allows the user to enable or disable poll field per node.

Scenario:
On the site I am building I have added a poll field to the forum content type. In this scenario only a small number of "forum posts" are going to have polls attached. This presents to minor issues: 1, for the majority of forum posts the node edit/create form contains a large chunk of Pollfield options; 2, when the node is viewed there is a "Poll:" label which for most posts is followed by nothing because there is no poll, but on the small number of posts that contain a poll it is followed by the poll title and options.

Solution:
On the node edit form provide a checkbox that when checked would expand all of the Pollfield inputs grouped together, and when unchecked would prevent the pollfield field from outputting anything when the node is being viewed. I would also suggest making this configurable in the field settings as content types dedicated to polls wouldn't require this checkbox.

This would also go some way to addressing this issue #1776178: Undefined variable: vocabulary which is present when Pollfield and Taxonomy Term Permissions are both enabled.

Thanks
Aaron

Comments

AaronMcH created an issue. See original summary.

AaronMcHale’s picture

Issue summary: View changes