I have a field that I've defined as "Text" with the widget type set as "Select (or other) check boxes/radio buttons". The field has 7 values and I have set the number of allowed values to Unlimited.
When I view the form, the list displays as Radio Buttons (only allowing one selection), rather than as Check boxes (allowing multiple selections).
I've tried the same thing with a normal check boxes/radio buttons--set to a field type of List (text)-- and with the Number of values set to unlimited. That works as expected... I get multiple choice check boxes. If I set the number of values to "1", it displays as Radio Buttons.
Do you have any suggestions on how I can get this to work with your widget?
Comments
Comment #1
rggoode CreditAttribution: rggoode commentedI see the check boxes working in the sample at site.com/select-or-other-test-form, so I'm assuming that it should work and I just don't have the settings right. But I can't seem to find the right setting to get check boxes to work for me.
Comment #2
danielb CreditAttribution: danielb commentedIt's probably a bug with the Field API integration (which is not used in the sample form)
Comment #3
danielb CreditAttribution: danielb commentedyeah the handling of multiple values really sucks :P
Comment #4
danielb CreditAttribution: danielb commentedI have made improvements to this.
Comment #5
rggoode CreditAttribution: rggoode commentedI've tried the latest dev version and it DOES now properly format for check boxes when the number of values is set to Unlimited. However, when I test the resulting form in my content type, choose the Other option and fill in a new value, I get the following error: list_illegal_value
Comment #6
danielb CreditAttribution: danielb commentedThe original issue was fixed though. You are now having an unrelated problem, often caused by switching a field to a different type of widget.