---
title: HTMLObjectElement.willValidate
slug: Web/API/HTMLObjectElement/willValidate
tags:
  - API
  - HTML DOM
  - HTMLObjectElement
  - NeedsExample
  - Property
  - Reference
  - willValidate
browser-compat: api.HTMLObjectElement.willValidate
---
{{APIRef("HTML DOM")}}

The **`willValidate`** read-only property of
the {{domxref("HTMLObjectElement")}} interface returns a boolean value that
indicates whether the element is a candidate for constraint validation. Always false for
HTMLObjectElement objects.

## Syntax

```js
var Boolean = HTMLObjectElement.willValidate;
```

### Value

A boolean value.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
