# FormRendererSubmitDetails (@salmonui/inputs/form-renderer)

> The FormRendererSubmitDetails interface of @salmonui/inputs/form-renderer: Second argument of onSubmit: errors keyed by property name.

Canonical: https://salmonui.dev/docs/reference/inputs/form-renderer/FormRendererSubmitDetails

```ts
import type { FormRendererSubmitDetails } from '@salmonui/inputs/form-renderer';
```

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

## Reference

Kind: interface

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

Second argument of `onSubmit`: errors keyed by property name.

Members (2):

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