~/talk

SMS OTP form best practices

slides:none on file

Use concrete form attributes and the SMS format: set type="text" + inputmode="numeric" to show a numeric keyboard, add autocomplete="one-time-code" for Safari autofill, and implement the Web OTP flow via navigator.credentials.get({otp: {transport: ['sms']}}) to receive the code in JS. Send SMS with a trailing line like "@yourdomain #123456" so browsers bind the OTP to the site. Chrome/Opera/Vivaldi support Web OTP; Tinder/Match +2.5% completion, Oyo −37% login time, Goibibo −25% signup retry.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Sign-in with password
  3. 1:152 Step Verification with SMS OTP
  4. 1:57Other use cases with SMS OTP
  5. 3:50Don't use type="number", use type="text"
  6. 4:07Use inputmode="numeric"
  7. 5:41autocomplete="one-time-code" on Safari
  8. 6:37Web OTP API on Chrome
  9. 7:39Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.