# FieldValidators

Source: /tuil/docs/reference/packages/form/api/field-validators
Locale: en

interface exported by @mwillbanks/tuil-form.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-form`.

```ts
export interface FieldValidators<T> {
  readonly change?: FieldValidator<T> | readonly FieldValidator<T>[];
  readonly blur?: FieldValidator<T> | readonly FieldValidator<T>[];
  readonly submit?: FieldValidator<T> | readonly FieldValidator<T>[];
  readonly command?: FieldValidator<T> | readonly FieldValidator<T>[];
}
```

## Members [#members]

| Member    | Type                                                             | Required | Description                                                                                              | Related types                                                         |
| --------- | ---------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `change`  | `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` | No       | The `change` member uses the `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` contract.  | [`FieldValidator`](/tuil/docs/reference/packages/form/api/field-validator) |
| `blur`    | `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` | No       | The `blur` member uses the `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` contract.    | [`FieldValidator`](/tuil/docs/reference/packages/form/api/field-validator) |
| `submit`  | `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` | No       | The `submit` member uses the `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` contract.  | [`FieldValidator`](/tuil/docs/reference/packages/form/api/field-validator) |
| `command` | `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` | No       | The `command` member uses the `FieldValidator<T> \| readonly FieldValidator<T>[] \| undefined` contract. | [`FieldValidator`](/tuil/docs/reference/packages/form/api/field-validator) |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`FieldValidator`](/tuil/docs/reference/packages/form/api/field-validator)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/form/src/index.tsx)

## Package [#package]

[@mwillbanks/tuil-form](/tuil/docs/reference/packages/form)
