Hey everyone, I need some help with mobile number validation in FlutterFlow. I’m building a Fintech app using FlutterFlow.
I have a MobileNumberInput field where users enter their 10-digit mobile number. The input is set as String type, keyboard type as Number, with max length enforced at 10. When the user clicks “Continue,” I want to validate that the input is exactly 10 digits. If not, I want to show an error Snackbar and prevent further actions.
I tried using Conditional Action to check Length equals 10, but in the dropdown, I don’t see the “Length” option under condition types. The input field is set as String, so ideally “Length” should appear, but it only shows options like Is Set and Not Empty, Equals To, etc.
I even tried using Form element as Parent, and then using Form Validation, but that is also not working.
Has anyone faced this issue where “Length” doesn’t appear as a condition type for String input fields? Is there a better way to implement 10-digit mobile number validation in FlutterFlow?
Any guidance would be super helpful. Thanks in advance!