PGTibs Posted February 10, 2009 Share Posted February 10, 2009 I've had a look and the only visible way to stop a form from submitting on the enter key pressed is javascript, however, upon using onkeydown='return event.keyCode != 13 && event.which != 13;' The textarea wont move down another line. Is there a way to make the textarea move down lines, add those extra lines too the sql database AND disable enter key submitting the form? Thanks Link to comment https://forums.phpfreaks.com/topic/144660-next-line-on-enter-key-but-not-submit-form/ Share on other sites More sharing options...
webster08 Posted February 10, 2009 Share Posted February 10, 2009 start here: http://www.google.com/search?hl=en&q=javascript+disable+enter+key&btnG=Google+Search Link to comment https://forums.phpfreaks.com/topic/144660-next-line-on-enter-key-but-not-submit-form/#findComment-759224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.