Is it enough to consider `submit` event a successful registration? Perhaps consider adding some primitive client-side form validation (for browsers that don't support it natively) - to check that required fields are met?