Is it possible to submit a form by pressing enter without a submit button? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Is it possible to submit a form by pressing enter without a submit button?

NickFNickF USAPosts: 132Member

Can someone please explain whether it is possible to submit a form by pressing enter without a submit button?

Comments

  • DavidMDavidM USAPosts: 342Member

    You can hide the button as follows.

    <input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>

Sign In or Register to comment.