Copy link to clipboard
Copied
Is there anyway to separate selected items from a listbox into one horizontal line seperated by commas? Ex. (Kitchen, Bath, Mudroom)
Copy link to clipboard
Copied
Sure. You can use this code as the custom calculation script of the text field where you want to display the list (just adjust the name of the field to match yours):
var v = this.getField("List Box1").value;
if (typeof v=="object") event.value = v.join(", ");
else event.value = v;
Copy link to clipboard
Copied
I still didn't have any luck with having the selections to appear. Forgive me, my knowledge of script and creating forms is lacking. I've included screenshots of what my listbox currently looks like along with the script that I entered.
Copy link to clipboard
Copied
Read my reply above more carefully, please. I've described where you need to place the code.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now