Hi-
I am using check boxes for a field that can have multiple values, and I would like to format these multiple values such that they are displayed as a list with commas. For example if the field is called Color and the selected values are:
Red
Green
Blue
and the user selected these in checkboxes, I would like to be able to display them on a template as: Red, Green, Blue
Right now they list with a space between them, but I'm hoping there's a way to get a comma in there, except on the last one...
Does anyone know how to do this?
-jw
I am using check boxes for a field that can have multiple values, and I would like to format these multiple values such that they are displayed as a list with commas. For example if the field is called Color and the selected values are:
Red
Green
Blue
and the user selected these in checkboxes, I would like to be able to display them on a template as: Red, Green, Blue
Right now they list with a space between them, but I'm hoping there's a way to get a comma in there, except on the last one...
Does anyone know how to do this?
-jw