# FormValidateEvent (@salmonui/inputs/form)

> The FormValidateEvent interface of @salmonui/inputs/form: onBeforeValidate event: preventDefault() skips client validation for this submit.

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

```ts
import type { FormValidateEvent } 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 FormValidateEvent {
    readonly form: HTMLFormElement;
    readonly defaultPrevented: boolean;
    preventDefault(): void;
}
```

`onBeforeValidate` event: `preventDefault()` skips client validation for this submit.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `form` | `readonly form: HTMLFormElement;` |  |  |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
| `preventDefault` | `preventDefault(): void;` |  |  |
