---
title: autovalidates
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbaritem/autovalidates
---

# autovalidates

A Boolean value that indicates whether the toolbar automatically validates the item.

## Declaration

```swift
var autovalidates: Bool { get set }
```

## Discussion

Discussion If the value of this property is true, the toolbar automatically validates the item; otherwise, it doesn’t validate the item automatically. The default value of this property is true.

## See Also

### Validating the item

- [validate()](appkit/nstoolbaritem/validate().md)
