PHP/JS: Disable form´s action if enter
<p>Hey, so my form is where you register you as a user. You type in 2 fields <strong>then press next</strong> and then 3 new fields come and then it runs the action="index.php?register=yes". </p>

<p>Now as you can see i highlighted "then press next" thats because, maybe some users just press enter after typing in the last field, and then it runs the action. But if you click Next, it shows you the 3 new fields(fading them in with javascript) and i added a return false; so it doesnt run the action="" in the form until the last button(on "page 2(with the 3 new fields") </p>

<p>Is there any way to do so you can "return false" if you just press enter(on your keyboard), like you can return false when you click on the button so it dont run the action="" ?</p>
