Validation: event object is propagated to onsubmit handler