Is there a way to print only the selected items in a list box? I have a long list and if any of the selected items fall below the fold they do not show up when printed.
My Product Information:
Acrobat Pro 8.1.6, Macintosh
This appears to be a variation of your [url=http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=22915]adding multiple selected items from a list box to a text box[/url].
When you reference the value of you list box with the multiple selection enabled so you can use the 'join()' method to create a list of these items or loop through the items. This is all custom JavaScript coding. You will need to have a method to detect an array vs a single item.
try{// assume value is an arrayevent.value=this.getField('List Box1').value.join(', ');}catch(e){// trap error when not an array - so use value onlyevent.value=this.getField('List Box1').value;}
When you reference the value of you list box with the multiple selection enabled so you can use the 'join()' method to create a list of these items or loop through the items. This is all custom JavaScript coding. You will need to have a method to detect an array vs a single item.
George Kaiser