These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Array as a form variable?

devrag
Registered: May 12 2010
Posts: 32
Answered

Is it possible to make a form variable which is an array? I've tried several different ways, and have not succeeded.

Thanks,
Devra

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Yes this is possible.

Open the preferences of your form, go to the "variables" tab, click the + button and add a new name for your variable in the left window.
In the right window you can place your array with JavaScript:
new Array("Value1","Value2","Value3","Value4","Value5","Value6","Value7","Value8","Value9");

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

devrag
Registered: May 12 2010
Posts: 32
Thank you very much. I couldn't find it documented anywhere. It never occurred to me to put the JavaScript for the array into the value.

Devra