Trigger invalid event on submit