Double colon separator on certain type of ACF field throws error
-
Hi – first off, this is an *EXCELLENT* plugin. Thank you so much! I have been able to work my way through and create a very useful CSV file that will import users into my WordPress site, including ACF fields. I have been able to successfully use the “double colon” (::) separator on fields that are taxonomy based and set up in ACF as field type = “taxonomy terms” (e.g., checkboxes if the user form was being filled out manually) by passing the actual *ID* of the field(s). (e.g., 33::34::35)
Where I’m having an issue is trying to figure out how to set up the CSV value for an ACF field that is set up as a discrete list (ACF field type = “select”). If I have a *SINGLE* value from that list in the CSV cell, it correctly imports and populates that ACF field. If I try to use the double colon between values, it throws a critical error.
QUESTION: Is there a correct syntax for having multiple “selections” and the double colon to import?
For example, if I have three options that can be selected (“Option 1”, “A second option”, “The Third”), should I set up my CSV cell as one of these? (spoiler, I tried all three of these, and it didn’t work)
- Option 1::A second option
- “Option 1″::”A second option”
- ‘Option 1′::’A second option’
I have also tried putting a physical line break (alt+enter) between the values in the CSV field. While this does not throw an error, it doesn’t import either of the items.
Do I need to use something *besides* the actual value when I’m doing multiple selections (like the “ID” in the “taxonomy terms” example above)? It *works* when I use the actual value as a single entry.
- You must be logged in to reply to this topic.