Help with dynamic comboBox

I am stumped. I have tried to load a comboBox with a for-loop to load k school names and can not get it to load dynamically. Here is what works:

schools_cb.addItem({label:varLoad.data.school1});

It manages to paste the name of school1 into the comboBox k times.

Then, when I try:

schools_cb.addItem({label:this[“varLoad.data.school” + k]});

or

schools_cb.addItem({label:this.getChildByName(“varLoad.data.school” + k)});

it brings up k blank entries in the comboBox.

I am a poor teacher trying to make a signup page for our school’s math contest. Please help…my head hurts from thinking. :slight_smile:

John