cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aruntd77
Level: Powered On

Input Validation

Dear Friends,

 

I am looking out for an option to check if the input text is alpha numeric/email format etc. Please let me know how can I achieve this input validation on Form before submit.

 

Thanks

Arun

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Input Validation

Hi Arun,

 

So far, I haven’t seen a way to check if the input text is Alphanumeric/Email format. I guess this has not been supported by PowerApps.

 

May I suggest you submit an idea about this issue at PowerApps Ideas Forum? The link of PowerApps Ideas Forum is:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Community Support Team
Community Support Team

Re: Input Validation

Hi Arun,

 

So far, I haven’t seen a way to check if the input text is Alphanumeric/Email format. I guess this has not been supported by PowerApps.

 

May I suggest you submit an idea about this issue at PowerApps Ideas Forum? The link of PowerApps Ideas Forum is:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aruntd77
Level: Powered On

Re: Input Validation

Thank you Mabel, I have submitted the idea.

gayatri
Level: Powered On

Re: Input Validation

hi Team,

 

Is there any sample app to create alogin screen with Dynamics 365 users , after validation, its should go to the next page.

 

Any sample powerapp is highly appriciated.

 

Thanks,

Gai3

Anonymous
Not applicable

Re: Input Validation

I see this is quite an old post so things have changed since, but people might still come here looking for answers so;

 

I do this with IsMatch using regex - there are a bunch of pre-defined regex pattern options like Email;

 

IsMatch(TextInput.Text, Email )

returns true if it's formatted like an email using the pattern .+@.+\.[^\.]{2,} (and looking at that, I'm grateful for the predetermined Email pattern!)

 

Besides the pre-determined patterns, you can obviously apply your own regex, and to test custom patterns I usually use something like https://regex101.com.

 

You can then communicate to the user in-line with things like the BorderColor property on the TextInput as they enter the data;

If(IsMatch(TextInput.Text, Email), Color.Green, Color.Red)

You can view all the patterns and details for IsMatch here;
https://powerapps.microsoft.com/en-us/tutorials/function-ismatch/

 

Hope this helps someone,

 

R

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 314 members 5,730 guests
Please welcome our newest community members: