Home › Forums › General Issues › String replace in a value › Reply To: String replace in a value
Thanks John for the reply, however I don’t think I was very clear in my question.
This is how the whole checkbox selection is set up…
address1, address2, postcode3 : selectA
address4, address5, postcode6 : selectB
address7, address8, postcode9 : selectC
so the if I check selectA the whole value I get back is “address1, address2, postcode3” rather than an array (I think).
That’s the part I’d like to remove the commas and replace with a line break.
Thanks
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.