Event handler for submit on form view