files/en-us/web/api/htmlbuttonelement/formnovalidate/index.md
{{APIRef("HTML DOM")}}
The formNoValidate property of the {{domxref("HTMLButtonElement")}} interface is a boolean value indicating if the {{htmlelement("form")}} will bypass constraint validation when submitted via the {{htmlelement("button")}}. It reflects the <button> element's formnovalidate attribute.
Its value overrides the {{domxref("HTMLFormElement.noValidate", "noValidate")}} property of the {{domxref("HTMLFormElement")}} interface if the form is submitted via the button. This property can be retrieved or set.
A boolean.
const buttonElement = document.getElementById("myButton");
console.log(buttonElement.formNoValidate);
{{Specifications}}
{{Compat}}