Form won't submit when clicking the submit button