This code is not working.
<Allow Comments? <input type="checkbox" name="allow_comments" value="y" {allow_comments} /> YesAm I missing something?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 07, 2014 3:15pm
Subscribe [2]#1 / Sep 07, 2014 3:15pm
This code is not working.
<Allow Comments? <input type="checkbox" name="allow_comments" value="y" {allow_comments} /> YesAm I missing something?
#2 / Sep 08, 2014 2:14pm
Have you got comments enabled in the Channel settings?
The allow_comments parameter suggests the value should be allow_comment=“yes” - https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_form/index.html#allow-comments - however the raw tag
{allow_comments}outputs checked =“checked” for me so it may not (easily) be available as an editable value.