cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sandersen220
Level: Power Up

Re: Trying to convert user inputted numbers into phone number format in PowerApps form

My phone field in SharePoint is set to text entry. Here is the Text display Value in PowerApps:

 

"("&Mid(DataCardValue39.Text,1,1)&Mid(DataCardValue39.Text,2,1)&Mid(DataCardValue39.Text,3,1)&") "&Mid(DataCardValue39.Text,4,1)&Mid(DataCardValue39.Text,5,1)&Mid(DataCardValue39.Text,6,1)&"-"&Mid(DataCardValue39.Text,7,1)&Mid(DataCardValue39.Text,8,1)&Mid(DataCardValue39.Text,9,1)&Mid(DataCardValue39.Text,10,1)&" (Cell)"

 

This does not control the input mask for the phone field on the form- I am repurposing it on a review/confirmation screen prior to the user submitting the form. Hope this helps in some way.

Helpful resources

Announcements
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: 210 members 4,721 guests
Please welcome our newest community members: