Hi,
How do I control form component dropList with Form script?
Are there methods like DropList.AddItem["ItemName"] or DropList.Items.Clear()?
Thanks,
Kirill
You can populate a list source on a component from a global script. Create the global script, and then call that script from the list source on the component. You can add items to a list source using:
Hi Caitlin,
Thank you for prompt reply.
If a global script is set as list source for dropList component, at what moment this script is executed and dropList populated with values? Does it only happen when form is opened? Or does dropList populated every time I call global script from form script?
I believe it will call the script on form load, and then again anytime the list is opened.