When trying to save a node that contains an optional multi-value checkbox field with fieldtool_execute_submit(), a form error will be generated if no value(s) has been provided for that field:

  • An illegal choice has been detected. Please contact the site administrator.
  • [field name]: illegal value.

Comments

Matthew Davidson’s picture

Status: Active » Postponed

The issue seems to be with CCK's optionwidgets.module (#594688: optionwidget_onoff will not set 'off' value when using drupal_execute). Postponing this until I find out if my patch there is committed or rejected. If the latter, I'll have to implement a workaround.