>> So I have this... >> document.getElementById('testform').onsubmit=TestDataCheck; > > Not quite to the point but be aware that IE does not differ between > 'name' > and 'id' namespaces so this will have consequences for your script. I am actually using prototype with the dollar function.