When a CCK field uses "Check boxes/radio buttons" and it is not required and multiple, validation fails because checkboxes is marked to have at least one value defined.

I attach a patch to fix this. The changed code adds a flag with 'required' value to indicate the min. value. If it is not required, zero value is allowed.

Comments

jelle_s’s picture

Status: Needs review » Fixed

Thanks for the catch! committed to 6.x-1.x-dev, along with some other usages I found that your patch didn't cover.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.