I have a group of text boxes and would like to iterate through them assign value change access I have three text boxes MytxtBox[0], MytxtBox[1], MytxtBox[2]
Example in JavaScript
var row;
for (row=0;row<3;row++)
{
xfa.host.messageBox(xfa.form.MyDocument.MyForm.MytxtBox[0]);
xfa.host.messageBox(xfa.form.MyDocument.MyForm.MytxtBox[0].access);
}
I get a script error show that xfa.form.MyDocument.MyForm.MytxtBox[0] has no properties
I can get the values in FormCalc however I cant run a form loop
Does anyone have any ideas how to work the For loop in FormCalc or iterate in JavaScript through the textbox array?