Need help creating loop

@shawn-johnson Marcia’s answer will work…probably. I think your explanation is a little vague and it’s hard to tell if you are using placeholders and where. Also, I think you can have numerical values, but only string labels for dropdowns.

A couple of minor fixes to Marcia’s code:

let newArray = [];
 
 for (let i = 0; i < tierrs.length; i++) {
   newArray.push({"label": tierrs[i], "value": i});
   if (i === tierrs.length - 1) $w("#dropTier").options = newArray;
 }