I have been able to use the double eval method to get the values of individual multiple selection list boxes into separate text boxes, and thank you for yours and the others' posts here, but we have an additional issue in that we have several multiple selection list boxes that we need to have their combined values go to one field, with a separator between everything. I was able to concatenate the double eval formula but not able to separate the different groups of results. Example:
MultiSelectBox1:
Apple
Orange
Pear
Banana
Added a Rule to MultiSelectBox1: Condition is if it is present and Action is to set the value of the AllSelectionsTextBox to:
concat(substring(eval(eval(MultiSelectBox1[. != ""], 'concat(", ", .)'), ".."), 3), substring(eval(eval(MultiSelectBox2[. != ""], 'concat(", ", .)'), ".."), 3))
MultiSelectBox2:
Pie
Cake
Torte
Muffin
Added a Rule to MultiSelectBox2: Condition is if it is present and Action is to set the value of the AllSelectionsTextBox to:
concat(substring(eval(eval(MultiSelectBox1[. != ""], 'concat(", ", .)'), ".."), 3), substring(eval(eval(MultiSelectBox2[. != ""], 'concat(", ", .)'), ".."), 3))
Added a hidden AllSelectionsTextBox on the form that will be promoted to a SharePoint Library. Made this the Value of the Text Box:
concat(substring(eval(eval(MultiSelectBox1[. != ""], 'concat(", ", .)'), ".."), 3), substring(eval(eval(MultiSelectBox2[. != ""], 'concat(", ", .)'), ".."), 3))
Results: items in MultiSelectBox1 are separated by a comma (good), but then the last item from that group runs into the first item of the group MultiSelectBox2 (although that group's items are separated by a comma which is good). Example:
Apple, Pear, BananaCake, Torte, Muffin
How can I get the comma between Banana and Cake?
Thank you for any help you or anyone else checking this post can offer!
Nalani