This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

valueMissing

Summary

Returns whether a value has not been entered in an input field that is required.

Property of dom/ValidityStatedom/ValidityState

Syntax

Note: This property is read-only.

var result = element.validity.valueMissing;

Return Value

Returns an object of type BooleanBoolean

Whether a value has not been entered in an input field that is required.

Related specifications

W3C HTML5
Living Standard
WHATWG HTML
Living Standard

Attributions