3

How do I format checkbox field values in an XML DataGrab import? I should mention that this checkbox field is in a Matrix but I am not sure if that will affect anything.

I've tried using the usual PHP_EOL and pipes to separate multiple values but neither worked.

1 Answer 1

2

If you are using a normal, EE checkbox, you should just need to supply pipe-delimited values (eg, One|Two|Three).

If you are using a Field Pack checkbox, these aren't currently supported within Matrix fields, but I can add it pretty easily if you need it.

3
  • It is a Field Pack checkbox field. I thought I had updated my question with that information but I guess I didn't. Sorry about that! Also, this is for an EE 2.9.3 installation. Commented Nov 10, 2016 at 14:38
  • Is this a quick change or should I just change the field type to a regular checkbox field? I don't believe it is crucial for us to stick with the Field Pack option in this case. Commented Nov 10, 2016 at 14:44
  • Wait, the regular checkboxes field isn't supported in Matrix. So I am limited to using the Field Pack column type. Commented Nov 10, 2016 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.