Arrays
I've got a problem with arrays. I have a button that resets my form, but it doesn't do what I need for dropdown lists. Under "Actions" I added a piece Javascript to set the dropdown list to the "initial" state I need.
Now this code works:
this.getField("Student1").value="SSS"
this.getField("Student2").value="SSS"
this.getField("Student3").value="SSS"
But this doesn't work
v= new Array("Student1","Student2","Student3");
for (i=0; i<v.length; i++)
this.getField(v[i]).value="SSS"
What really confuses me is that it works for two of the three entries in the array.
Stumped and could use help.
Jack
