I'm working on a form that uses javascript-coder's gen_validatorv4 script. (Have used it in the past to great success). This form is so that tellers at the bank I work at can put information in on voided checks, to send back to our accounting department and get kicked out as a csv for Foxtrot.
I have tested the script in Firefox and Chrome, with no problems. However, in IE 8 and 9, I get the message "Line #1: Your account Number must be a number!", which is a validation error for not putting a number in that line, and as far as I can figure, it's because I'm using a 1D array. It will repeat again with an error when attempting to do it under maxlen as well. I'm using the array (which is created by the previous form) as there is a variable set of number of checks which may be submitted at any given time.
I added the array-0.9.js file from js-methods, and that has slightly fixed the issue by adding an ability to handle indexes in Internet Explorer. It now properly validates the first line of items up to the radio button, but fails at that point. If I remove the radio button check, it will then fail on the 2nd row on num and maxlen verification. Please check this fiddle for the code. I've intentionally not included it in this part of the thread, as it gets kinda long.
Anyone have any ideas how to make it work in Internet Explorer properly?
Thanks!
I have tested the script in Firefox and Chrome, with no problems. However, in IE 8 and 9, I get the message "Line #1: Your account Number must be a number!", which is a validation error for not putting a number in that line, and as far as I can figure, it's because I'm using a 1D array. It will repeat again with an error when attempting to do it under maxlen as well. I'm using the array (which is created by the previous form) as there is a variable set of number of checks which may be submitted at any given time.
I added the array-0.9.js file from js-methods, and that has slightly fixed the issue by adding an ability to handle indexes in Internet Explorer. It now properly validates the first line of items up to the radio button, but fails at that point. If I remove the radio button check, it will then fail on the 2nd row on num and maxlen verification. Please check this fiddle for the code. I've intentionally not included it in this part of the thread, as it gets kinda long.
Anyone have any ideas how to make it work in Internet Explorer properly?
Thanks!