Hi,
I am trying to run a simple javascript for loop in bubble. When I click a button a javascript to bubble gets fired which has a for loop,
let x = 3;
myList = [];
for(i=0; i<x; i++){
myList.push(i)
}
bubble_fn_function(myList);
I am trying to get the for loop to write the values 0,1,2 (as an array or otherwise) in the database and output to screen using a repeating group. I am not getting anywhere with it. Is this possible or am I doing something wrong? Or is there a better way to do this? Basically I just want to pass the output of a for loop which has multiple values to bubble and display using a repeating group. Any help would be appreciated.
Thanks,
George.



