Expand my Community achievements bar.

Populate text box from multi select listbox

Avatar

Level 1

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!

2 Replies

Avatar

Level 1

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

Multi Selection Listbox-Textbox

Avatar

Level 1

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?