Event handler is now ONLY on form submit, not button click.