Your question is Form Submission Handling. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Other than onClick and onSubmit, how can you handle form submission?
Explain practical alternatives, when each is appropriate, and the trade-offs involved. Address native browser behavior, accessibility, validation, progressive enhancement, and how you would test the chosen approach.