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.
Kai’s form, exactly as he wrote it. These are real inputs.
not submitted yet1 · 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.
2 · Give every field its names
Pick the markup for each field. The form on the board is rebuilt from your choice, so you can see what each one changes.
3 · Prove it with the browser
These checks use real APIs on the real inputs: input.labels, new FormData(form), autocomplete and checkValidity().
New seal earned
The faceless one has nothing left to wear
Acharya’s Rule #23Give every field a label, a name and the right type. Let the browser do the rest.
<label for="phone"> names the field aloud and makes it clickable. A placeholder is only a hint.
An input with no name is never submitted. FormData shows what will be sent.
type="tel", inputmode="numeric" and tokens like one-time-code bring the right keyboard and one-tap autofill.