Demo · B1

Twitter/X-style named six-box

Inspired by
Twitter/X login 2FA and several banking 2FA forms that name each digit input individually for traditional form submission.
Pattern
Six adjacent <input maxlength="1" inputmode="numeric"> with name="code1" through name="code6". Each box's name contains "code".
Hits
Each box matches via AmbiguousTotpFieldNames ("code" substring). Six matches collected → split-digit consolidation fires.
Expected with manual trigger
Inline menu surfaces (qualifier convergence). Click fills one digit per box.
Expected with the page-load setting on
Page-load does not fill — per-box "code" signal is ambiguous, below the high-confidence gate. Manual trigger still works.

Enter Your Code

6-digit code from your authenticator app

Enter the 6-digit code, one digit per box

← Back to demo index