Fields and choices

Account
At least two characters.
An email address, like ada@example.com.
Digits, spaces, +, ( ) and - only.
Preferences
Six digits.
0/200

Constraint validation

Each field's validity, live, and a rule of the page's own through setCustomValidity(): the two passwords must match.

Field valid valueMissing tooShort customError message

A disabled group

One switch disables a whole <fieldset> and every field in it.

Shipping address

Native pickers

The browser opens these outside the page, so they do not show in a panel: the fields themselves do.

Progress and meters

In a panel

  • The native pickers (date, time, colour, file) and the browser's validation bubbles open outside the page: this page shows the validity itself.
  • The datalist's suggestions are a native popup too: the field still takes typing.