Articles on: Developers

Using SMS for verification codes

Autofilling verification code from SMS in your website


To enable your users' mobile devices to autofill website field with the verification code you sent in your SMS, you should add an autocomplete attribute to the field definition with the value "one-time-code".

For example:
<input type="text" name="my-otc" id="my-otc" autocomplete="one-time-code">

Link to iOS documentation

Updated on: 11/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!