cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Frequent Visitor

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
Highlighted
Impactful Individual
Impactful Individual

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

Highlighted
Frequent Visitor

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.

 

Highlighted
Impactful Individual
Impactful Individual

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
Highlighted
Frequent Visitor

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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