Hi Poola,
You can use the following regular expression to match a 10-digit mobile number:
^\d{10}$
Let me know if you face any issues,
Hope it helps!!
Hello Pujitha,
The above suggestions also make sense. Here are a few changes to the above solution, where will be using the Mendix provided configurations to handle the required validation as per your requirement;
I hope this answers your question.
But if you have a requirement like the below;
Then you need to write an OnChange event and use regular expressions to validate the data. Which will help you to address the issue more precisely.
Hi Pooja, I am Jhansi!!!
Your Mobile Number should be string and length limited to 10. Please take a look below.
Your input field input mask as 9 nine’s and no. Please check the configuration in the below screenshot
Then add an ON change microflow
Which will validate the length.
Hope you find it helpful!!
Hello Poola Poojitha
1.First in the form create a onchange microflow for that field (i.e Phone number field attribute) as shown below First in the form create a onchange microflow for that field (i.e Phone number field attribute) as shown below
2.Later in that microflow place a Decision actity ,in that procced with the expression as mentioned below
Hope it will work for you please reach if anything required