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