When I click on the next button, it submits the form.