Select to view content in your preferred language

Survey123 Phone number key enforcing

329
1
Jump to solution
06-21-2023 01:13 AM
AbdelrahmanGhazaly
New Contributor III

Hello,

In survey123 connect I'm trying to enforce user to enter his phone number starting with code (+99) but in the input mask field it determines the 9 as any value from 0-9 is there a work around for this ?

Thanks,

Abdelrahman.

0 Kudos
1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @AbdelrahmanGhazaly

You will need to use the backslash (\) to escape the 9's in your country code. For example, (+\9\9)999-9999 will yield  ZacharySutherby_0-1687389941038.png and when you start typing the numbers entered will be after the end parenthesis. Please see this documentation for more information. 

 

Thank you,
Zach

View solution in original post

1 Reply
ZacharySutherby
Esri Regular Contributor

Hello @AbdelrahmanGhazaly

You will need to use the backslash (\) to escape the 9's in your country code. For example, (+\9\9)999-9999 will yield  ZacharySutherby_0-1687389941038.png and when you start typing the numbers entered will be after the end parenthesis. Please see this documentation for more information. 

 

Thank you,
Zach