Skip to content

submitForm

submitForm(operationId, handler, formData): Action[]

Defined in: actions/helpers.ts:125

For a form’s onSubmit: prevent the browser submit, then run handler with formData ('prevent' strategy).

ParameterType
operationIdstring
handlerstring
formDataany

Action[]