prevent default Action for enter key and moving between input fields by same button [duplicate]

  javascript, php

I am making simple Web application with 3 inputs when i press Enter Key
form is submitting Before I fill in the other input fields i need to prevent this Action
and at the same time i need enter key to moving between input fields

Source: Ask PHP

LEAVE A COMMENT