Hi All,

I am trying to import data into a CCK field that has checkboxes. Selecting multiple checkboxes is something that is allowed. I am able to import the data for a single checkbox ( by just having the name of the checkbox option ) but I am not clear as to how to import data for multiple checkboxes. For ex if the selected checkboxes are Cat,Dog,Elephant,Parrot and I have to import this data from the CSV to the checkbox CCK content type.

I looked at the documentation and forums and could not find this information. If any of you are aware on how this can be done. Please do let me know.

Thanks

Comments

Robrecht Jacques’s picture

Probably "Cat||Dog" if you want the "Cat" and "Dog" checkboxes checked. Spaces and case doesn't matter.

kkrgopalan’s picture

Thanks for the prompt response. I tried with Cat||Dog ( without the quotes - if we have quotes then fields seem to get mixed up ) node_import does not complain but the checkbox field does not display. Any ideas?

kkrgopalan’s picture

If this a bug in node_import can we go ahead and file a bug report for the same? Can one of the node_import committers confirm please ..

phildu’s picture

same for me