cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tricky778
Helper II
Helper II

Unable to submit form when number field exceeds 19 characters

We have a Text Input number field on a form, linking back to a SharePoint list. When I enter 20 characters:

 

86700202700015502976

 

Select to submit the form, it fails with the following error:

Tricky778_0-1617110004920.png

 

If I then delete the '6' at the end of the number string (so that we have 19 characters) it will submit fine. 

The field has no maximum length set (in both the PowerApp or SharePoint). Have tried the following:

 

  • Setting the maximum length to 30 in the PowerApp
  • Deleting the field in the PowerApp and pulling it through again to the form
  • Tried another number field on the same form, failed with the same error

Is there a default 19 character max I'm missing somewhere? 

 

Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks @Pstork1 ,

Is there any way around this for instances where you're anticipating more than 19 consecutive numbers to be input into the field? 

 

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

Its not a 19 character max, but the text box is automatically recognizing the entry as a number and there is a 19 digit limit on numbers.  If you enter a character in the box you will find that it recognizes the number as a string and won't truncate the number until you try to use it as a value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks @Pstork1 ,

Is there any way around this for instances where you're anticipating more than 19 consecutive numbers to be input into the field? 

 

No workaround that I know of other than forcing the text box to consider the entry as text rather than a number.  That requires input of some kind of alpha character.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Tricky778
Helper II
Helper II

Okay thanks for confirming the behaviour. I'll edit the field so it asks for the country prefix as well as the number. Thanks again 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,964)