# ValidationMessageText (@salmonui/core/validation)

> The ValidationMessageText type of @salmonui/core/validation: Message overrides: ValidationMessages whose length messages may also be plural forms. The form is chosen for the last rule argument, the number next to the counted noun: {0} of minLength and maxLength, {1} (the upper bound) of rangeLength.

Canonical: https://salmonui.dev/docs/reference/core/validation/ValidationMessageText

```ts
import type { ValidationMessageText } from '@salmonui/core/validation';
```

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

## Reference

Kind: type

```ts
type ValidationMessageText = {
    readonly [K in keyof ValidationMessages]: K extends 'minLength' | 'maxLength' | 'rangeLength' ? LocaleMessage : string;
};
```

Message overrides: `ValidationMessages` whose length messages may also be
plural forms. The form is chosen for the last rule argument, the number
next to the counted noun: `{0}` of `minLength` and `maxLength`, `{1}` (the
upper bound) of `rangeLength`.

Members (17):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `required` | `required: string;` | inherited |  |
| `min` | `min: string;` | inherited |  |
| `max` | `max: string;` | inherited |  |
| `range` | `range: string;` | inherited |  |
| `minLength` | `minLength: LocaleMessage;` | inherited |  |
| `maxLength` | `maxLength: LocaleMessage;` | inherited |  |
| `rangeLength` | `rangeLength: LocaleMessage;` | inherited |  |
| `number` | `number: string;` | inherited |  |
| `digits` | `digits: string;` | inherited |  |
| `email` | `email: string;` | inherited |  |
| `url` | `url: string;` | inherited |  |
| `date` | `date: string;` | inherited |  |
| `dateIso` | `dateIso: string;` | inherited |  |
| `creditcard` | `creditcard: string;` | inherited |  |
| `tel` | `tel: string;` | inherited |  |
| `pattern` | `pattern: string;` | inherited |  |
| `validate` | `validate: string;` | inherited |  |
