47 OTP Paste Distribution. 47 of 95.
47/INPUT/47 of 95
OTP Paste Distribution
One action should stay one action.
The problem
Pasting a 6-digit code dumps it all into one box, forcing you to retype it digit by digit.
The solution
Paste six digits once. Distribute across visual cells.
Experiment
Play with the values
6
How it works
- A paste is one user action, even when the code is split across several visual cells.
- Digits are parsed out of the pasted string and non-digits are ignored.
- Those digits are written across the cells in order.
- Focus moves to the next empty cell, or past the end if the code is complete.
- If every cell is filled, the form can submit without asking the user to retype.
Seen in
Two-factor auth
Paste your 6-digit code once and it fills every cell automatically.
SMS verification
Codes from text messages distribute across inputs without manual retyping.
PIN entry
Numeric PINs pasted from password managers split into individual digit fields.
Invite codes
Alphanumeric codes paste into segmented fields in one action.