Is it necessary to have the submit button? Does it work without it?