how can I create a form to input phone number in questioner? please tell me
tulus45
January 10, 2019, 6:25am
#2
Hi
Just create “text” question …
Why text ?
integer === it’s have maximum digit
decimal === when we have input phone number, then next, the back again … the number we filled in changed.
Thanks
janna
January 11, 2019, 10:59am
#3
Hi @Osama ,
Yes, to allow for 10 digits, you need to change the question type to “text”.
And then, as @Suman has already said, you need to have a “regex” in the validation criteria (or “constraint” column, if you’re creating the form in Excel).
For example, you might want to collect 10 digits to collect a phone number.
If you wanted to collect a 10-digit phone number (so, you want to collect 10 digits, not alphabet letters), then your validation criteria/constraint would be this:
regex(., '…
I hope this link helps - there are a couple ways you can collect phone numbers, and make sure people enter the right amount of digits.
Cheers!
Janna
2 Likes