Populate text box from multi select listbox

Avatar

Avatar

theoriginalmel

Avatar

theoriginalmel

theoriginalmel

01-03-2018

Hello!

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.

THANK YOU!

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

theoriginalmel

Avatar

theoriginalmel

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?

Avatar

Avatar

theoriginalmel

Avatar

theoriginalmel

theoriginalmel

01-03-2018

I tried this solution but nothing happened. Im not used to scripting but am open to trying.

Multi Selection Listbox-Textbox