How to auto-populate the OTP code

auto-populate the OTP code(HTML)

Anil Verma's photo
Anil Verma
·Dec 21, 2020·

Subscribe to my newsletter and never miss my upcoming articles

Play this article

To auto-populate the OTP code(Trigger smartphone OTC auto-suggestion) in input field use autocomplete=”one-time-code”

<input name=”otp” placeholder=”enter otp” type=”text” autocomplete=”one-time-code” />
 
Share this