submitFailed
SubmitFailed is a term used in some form state management libraries to denote that an attempt to submit a form has failed. It is not a browser standard, and its presence, name, and exact semantics vary between frameworks. In general, submitFailed is a boolean flag that becomes true after a user submits a form and the submission does not complete successfully, either due to client-side validation errors or a server-side error response.
When submitFailed is set, the user interface typically responds by highlighting invalid fields, displaying error messages,
Resetting the flag is usually tied to form changes or new submission attempts. It is commonly cleared
Notes: Because submitFailed is not standardized, developers should refer to the documentation of their specific framework