Episode 23 game · Vishwa · Earth

Name the Nameless Field

Kai’s sign-up form looks finished, but it won’t autofill and the server receives nothing. Feel what the browser sees, give each field a <label>, a name, the right type and an autocomplete token, then prove it with the browser’s own checks.

VishwaEvery stone I lay has a name, Kai. Let us see what your form tells the browser.
23Seal 23
kai.app/signup

Kai’s form, exactly as he wrote it. These are real inputs.

What the browser sees read from the real elements
    Form Datanot submitted yet

    1 · Feel the nameless form

    Try what a user would do: let the browser autofill Kai’s saved details, then submit the form and see what the server would receive.

    Label for people

    <label for="phone"> names the field aloud and makes it clickable. A placeholder is only a hint.

    Name for the server

    An input with no name is never submitted. FormData shows what will be sent.

    Type and autocomplete

    type="tel", inputmode="numeric" and tokens like one-time-code bring the right keyboard and one-tap autofill.