Created attachment 246413 [details] Screenshot of error Stopped right before exception, look at array, itemsCount and loopCount itemsCount should be equal to loopCount but it is not
Created attachment 246423 [details] One Another screenshot (maybe will explain averything) I added "For...In" block to get all elements... and "For...In" and "For Each...In" statements also enumerate custom methods of array object If it is correct behaviour of enumerating arrays then please close this bug.
Yes, enumeration will get any user added properties or functions. The problem you were seeing seems to be that you were expecting the array to only contain id values that could be looked up. You can easily fix this by checking if the returned value from the |for each| is a string and checking that the call to |document.getElementById| is non-null before attempting to access the .value propertye. The only remaining question I have is why the difference between your profiles? Did one of the extensions add custom properties to the form elements or something? Thanks for digging into this deeper.
Yes, "TestGen4Web" extension added some methods to array object of another extension "Custom buttons", in which enumeration of affected array throws exception (I disabled TestGen4Web and all is working fine)