Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

PowerApps Canvas – How to validate Phone Number

Quick demo for how to validate phone number text input with RegEx. Cheers.

Video

Formula

If(
Not(IsMatch(TextInput1.Text, “[a-zA-Z0-9]*”))&&!IsBlank(TextInput1.Text),
RGBA( 255, 0, 0, 1 ),
RGBA(0, 18, 107, 1)
)

Supports Input Pattern

123-456-7890
(123) 456-7890
123 456 7890
123.456.7890
+91 (123) 456-7890

References

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲