Fix bug 959559 - mark individual fields as having errors, limit js valid...

...ation to onsubmit