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

Can not find the right format to input Phone Number

Hi, all!
I am a beginner for using Power Apps.
Please help me with my issue, thanks!

I am using Excel Hosted by One Drive for my Apps,

and in my excel there is name, email, and phone column field.

 

But, I got an issue when tried to input phone number, and got error:

"The requested operation is invalid, ... Invalid value for field 'Phone' expected a string."

Here are the failed solutions I have tried:
1) Not put 0 on the start of the number.
2) Change data type for column Phone in my Excel into Text, and refresh my Data Source in Power Apps.

3) Also put Text input above of my Phone Data Card Value, and put syntax "Concat(Filter(Split(TextInput1.Text,""),Result in "0123456789"),Result)" in Default of that Data Card Value.

4) Delete and Re-create Phone field.

 

Expectation for goals:

*) I can input Phone numbers with 0 on the start of the numbers without any error.

 

When I deleted the Phone field in my Power Apps, I can input my others data but actually I need to input my phone data but stuck with this issue for these 2 days.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Nesh
Level: Powered On

Re: Can not find the right format to input Phone Number

Hi @Delid4ve !

 

Thank you for your help.

I have found solution with re-making the form from the beginning.
It's working well now! 

View solution in original post

4 REPLIES 4
Delid4ve
Level 10

Re: Can not find the right format to input Phone Number

Where was this error. When you tried to patch it to excel or when you input data..

You probably need to unlock the datacard and change the update field to Text(ValueThatIsAlreadyThere) by the sounds of it.

The Textinput box is probably also set as number input which will need to be changed in the properties of the TextInputBox

Nesh
Level: Powered On

Re: Can not find the right format to input Phone Number

Hi @Delid4ve!

The error happened when I click the Submit button on my form.

I have make sure the TextInput Box has "text" has text format in it format field and here's the value of my data card update field : "DataCardValue5.Text", but still get same error.

 

Do I miss a thing? Please help.

Thank you.

 

Delid4ve
Level 10

Re: Can not find the right format to input Phone Number

Are you using submit form method or patch?
If you make a patch button it will show you the error between the fields so you can see exactly what is happening
Nesh
Level: Powered On

Re: Can not find the right format to input Phone Number

Hi @Delid4ve !

 

Thank you for your help.

I have found solution with re-making the form from the beginning.
It's working well now! 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,257)