Load array content into listbox learner interaction
Hi everyone,
I've read a bit about listboxes online, but I still cannot find out, how to load an array into a listbox widget (I chose the one from learner interactions in Captivate 10). The listbox states a variable that I named listbox_own, but it only saves the choice of the user in this variable. However, I want to load the content from a variable. Is that possible?
I've tried as onload event on the slide the following, but it doesn't work
var myArray = [ "cat", "dog", "snake"];
window.cpAPIInterface.setVariableValue( "listbox_own", myArray);
Best regards
Max
