Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Type Alias: FormValidator

FormValidator = (data) => Promise<Record<string, string> | undefined>

Represents a function that validate the form data.

Parameters​

data​

Record<string, unknown>

the form data.

Returns​

Promise<Record<string, string> | undefined>

the Record with form field errors.

Stay in the know
Quickly Build Drag-and-Drop Forms
Star us on GitHub