# `submitHandler` Documentation

The `submitHandler` is a fundamental function provided by the `useForm` hook, and it plays a pivotal role in handling the submission of a form. This function is executed with form is submited and has no errors. This function allows you to define custom behaviors and logic to execute when the form is submitted. The `submitHandler` function can be both synchronous and asynchronous, providing flexibility for various use cases.
