Changed the submit process to a form submit