When you use a button to submit a form, instead of using a input tag, use a button tag with a type submit.