Adding spaces between dynamic content outputting text with multiple values

Hi there,

How does one add spaces between values when a dynamic content string is pulling from a field with multiple values?

For example in the screenshot below you see a line of copy after “Notes:” that reads “Dovetails,Solid Wood,Wall Cabinet,Weaving”

Screen Shot 2021-03-23 at 00.47.51 AM

This copy is being pulled from a custom ACF using this code: {{dc:acf:post_field field=“project_tags”}} and the post field has these 4 values: Dovetails, Solid Wood, Wall Cabinet, Weaving

Any way to add some spaces and commas between them before the output?

Hello @BodhiJames,

Thanks for writing to us.

Regretfully there is no option to add the space in the ACF data. It would require custom development. I would suggest you contact a developer who can assist you with your concern. Please note that we don’t provide custom development support. It is out of the support scope.

Thanks for understanding

Okay so to confirm: it’s not possible to add additional code to this line "{{dc:acf:post_field field=“project_tags”}} " that would target a specific number in the string of inputs that’s being grabbed?

If that was possible I could obviously string together a few different version of this code that each targeted #1, #2, #3, etc. in those fields and add formatting between.

If not, please put in a feature request, that would be really helpful.

If that’s not an option, in lieu of custom development, is there any reason I couldn’t just use a looper to display that content with a little more formatting?

Hello @BodhiJames,

Sorry for the confusion and sorry for your inconvenience you use this delimiter=", " parameter in the dynamic content code to add a custom string in the data. Please feel free to change the string as per design.
Please have a look at this thread for reference.

Hope it helps
Thanks

Perfect, thanks! Exactly what I needed.

Hi @BodhiJames,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.