The 'Text Input’ component has different types. I’m having two questions:
What is the difference between types ‘Number’, 'Normal, and ‘Password’? (screenshot below)
I have a screen where I have a Text Input that captures a 4-digit code (screenshot below).
When the user enters the 4-digit code it works fine in Adalo and Make/Integromat (where I use Twilio Verify module to send the code via SMS text) as long as the code doen’t start with zero (example: if code is 0123, In Make I see Custom Action in Adalo only sends 123). I’m using type “Number”, so wondering what to expect if I change to “Normal” or “Password”, or any other suggestion how Adalo to force sending the zero (e.g. to send 0123)?
Hi, the problem is not in input it’s on the database property you’re using to store the validation code, you should use “text” properties for codes because they’re basically strings, you won’t be performing calculations with’em, so do that and put the input type as normal, that’ll save you some headache,
Cheers.
If you’re using the RAND() function, you can start with 1111 to prevent a number from starting with zero. Specifically you can use RAND(1111,9999) to generate a random 4-digit number between 1111 and 9999.
About the inputs…
“Normal” allows letters, numbers, and special characters
“Number” only allows numbers
“Password” allows letters, numbers, and special characters but it hides the characters from being visible when typed.