Notifications
Announcements
Hello,
Can anyone help me with the formula to validate a Canadian Social Insurance Number? Validation would be done for a text field.
Thanks.
@PowerSuiteUser ,
Could you give us some context on how you wish to validate this Social Insurance Number?
Do you have a database/SharePoint List/OneDrive etc. ?
_____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
I used the following formula to validate it:
If( IsMatch( TextInput1.Text, "^(?!000|9\d{2})\d{3}-(?!00)\d{3}-(?!0000)\d{4}$" ), "SSN Is Valid", "SSN Is Not Valid" )
The result was bound to the label underneath the text input:
Replying just to ask if you've found a solution for this?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268