# FormValidationResult (@salmonui/inputs/form)

> The FormValidationResult interface of @salmonui/inputs/form: onValidate result: errors keyed by field name.

Canonical: https://salmonui.dev/docs/reference/inputs/form/FormValidationResult

```ts
import type { FormValidationResult } from '@salmonui/inputs/form';
```

Entry index: https://salmonui.dev/docs/reference/inputs/form (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/form.md).

## Reference

Kind: interface

```ts
interface FormValidationResult {
    readonly valid: boolean;
    readonly errors: Readonly<Record<string, readonly string[]>>;
}
```

`onValidate` result: errors keyed by field `name`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `valid` | `readonly valid: boolean;` |  |  |
| `errors` | `readonly errors: Readonly<Record<string, readonly string[]>>;` |  |  |
