Skip to content

Form dialog

A modal form dialog hosting an age input (0–120), a checkbox group, and a radio group, with OK / Cancel. OK is vetoed while the age is out of range — the valid() gate refuses to close and returns focus to the offending field; Cancel, Esc, or [×] always close.

A modal form — input + checks + radios with OK/Cancel; OK is vetoed while Age is out of range.