Javascript debugging hint:
Any time more than 1 element on a form shares the same name or id, javascript form functions fail.
Example
<form name=test onsubmit=checkme()>
<input type=text name=x>
</form>
checkme() will be ok.
<form name=test onsubmit=checkme()>
<input type=text name=x>
<input type=text name=x>
</form>
checkme() will fail. (In IE without an error message)
Sometimes elements you create duplicate names without realizing.
Just another thing to check.