# $pricesField->isInvalid()

> Checks if the field is invalid

- Source: `src/Form/Mixin/Validation.php#L86` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Form/Mixin/Validation.php#L86>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$pricesField->isInvalid(): bool
```

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\PricesField` inherited from `Kirby\Form\Field\InputField`
