Populate text box from multi select listbox

theoriginalmel 01-03-2018


I'm creating a dynamic pdf form and would like a text box to be populated by the selections a user makes in a multi-select list box. Do I need script for this? If so, are you able to tell me what that script might be?

I appreciate any help you can provide.


Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (2)

Answers (2)

theoriginalmel 01-03-2018

i also used this script but nothing happened:

var vList = ListBox1.rawValue.split("\n");

for (var i = 0; i < vList.length; i++)
     xfa.host.messageBox("Selected Values - " +  vList[i]);

I'm applying it to the list box to execute upon "click"... not sure if that makes sense?