I'm trying to stop my form from submitting when I press enter on a text box, but I can't find out how to do it.
I've tried doing document.selectform.submit=false;, but this doesn't work.