Working with arrays to populate a combo box and associated text fields
I have a multi-dimensional array of the form [[a1,a2,a3,a4,a5],[b1,b2,b3,b4,b5],[c1,c2,c3,c4,c5].....] whereby I have written a script to populate a combo box using data extracted from the first element of each multidimensional array provided in which case the combo box contains only the first element in each array or a1,b1,c1,.... The trick is depending on the value selected in the combo box, I would like to automatically assign the remaining elements in the array associated with combo box selection to appear in the remaing fields on the form. In other words if I were to select a1, the remaining items a2, a3, a4, a5, would display in the remaining fields on the form. Likewise, if I were to select b1, the remaning items b2,b3,b4,b5 would be displayed. Unfortunately. no matter what scripts I have tried thus far using for loops along with the getItemAt, numItems methods, including the multidimensional array I created in a for loop in an attwmpt to achieve the same result, I have been unable to display the remaining associated elements of the array on my form regardless of the value selected in the combo box. Any thoughts, suggestions, tutorials regarding this subject matter are most appreciated. Last but not least, I should probably add that for whatever reason it appears I am having a difficult time obtaining the true index number associated with the combo box selection since I can easily enough assign any value from the array using an element's appropriate index numbers such as [0]02] to assign a3. Thank you ahead of time.