Search
When using the <button> element inside a form always include the type attribute to specify whether it's a submit, reset or a plain button.
<button>
type
submit
reset
button