Hi Tim!
There may be a more elegant way to do this but...
I would collect the text into a HIDDEN TYPE field using a series of If statements in the client side event box. Test your code in ONE checkbox, but then when it is working, you will have put THE WHOLE LOT of it into ALL the checkboxes' Client side event AND in the Initial Javascript in the Module Configuration (so it rebuilds the string in the case of a postback refresh.)
First create the hidden field - we will call it "boxString" (NOTE you could do this directly into a disabled text field, too, with the label of the text box "The following checkboxes were checked" but it is less flexible )
So, the javascript will be something like:
$(boxString) = '';
if ($(boxA) == true) { $(boxString) = ' A,' ;}
if ($(boxB) == true) { $(boxString) = $(boxString) + ' B,' ;}
if ($(boxC) == true) { $(boxString) = $(boxString) + ' C,' ;}
etc....
NOTES:
1. Always use single quote marks, sometimes called 'tick' marks.
2. Clear the boxString field first, to be sure you get a clean build.
3. The CASE of JavaScript and even the field names is important to be exact.
4. Remember that client side events push, not pull. So, the code must be in the question that has the action. (Putting this code in the Hidden Field will do exactly nothing.)
If you have set this up as a hidden field, then you can use its value either by assigning it (at the end of the long line of ABC) to a text box:
$(displayFieldHere) = $(boxString) ;
or by doing an HTML injection as described in Demonstration #20:
http://www.datasprings.com/products...nstrations ANOTHER lesson learned is there is a limit to the amount of code you can get into a Client Side Event. If you run out of room, you will have to create this as a function in the Javascript settings. I can't help you there... There are some posts in the Form on the topic, however.
Hope this helps!
David