Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since декабрь 2018 г..
Событие invalid запускается, когда отправляемый элемент был проверен, но его содержимое не удовлетворило установленные ограничения. Валидность отправляемого элемента проверяется до отправления формы или после вызова метода checkValidity()на элементе.
Нет
ОтменяемыйДа
ЦельЭлемент
Действие по умолчаниюМожет препятствовать отправке формы.
| target Только для чтения | EventTarget | The event target (the topmost target in the DOM tree). |
| type Только для чтения | DOMString | The type of event. |
| bubbles Только для чтения | Boolean | Whether the event normally bubbles or not. |
| cancelable Только для чтения | Boolean | Whether the event is cancellable or not. |
This page was last modified on 24 июн. 2025 г. by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.