How to auto-populate the OTP code

auto-populate the OTP code(HTML)

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” />