Hello, we would like to implement a phone number validation on one of our contact form.
The ideal solution for us would be a using OTP system (like the one from Twilio). As per my understanding it will require an API.
According to TypeForm help support, there is no native solution
We are looking for the best manner to implement this verification via API or any other way, does anyone know any example of something similar done on a form ? Or have any advices ?
As @Liz mentioned, the flow of a form can’t be interrupted to make an external API call between questions.
So the only moment you can do this verification would be when the form is submitted.
As a workaround for now, I would suggest to break your flow into two forms. One first form just asking for form number. This form redirects to an OTP validation UI of your own. When this forms is submitted it triggers a webhook to call Twilio OTP API.
If the OTP validation works, you can redirect the user to the second part of the form, passing the phone number as a hidden field.
i switched to makeforms for my workflows. They have OTP for Mail and Phone.
Thanks for referring. I used them. They give 5k responses for $29. But, you need to purchase verification SMS credits separately and it’s costly compared to Twilio. For US, Twilio charges per sms are $0.007 for which they charge about $0.040. I had to reach out to support and they gave only 20% discount. But it’s okay for me as I don’t need to manage a separate Twilio account.