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

Patching an empty text input into number SP list column

If a user has not input any number into a text input control, is there any way to patch this into an SP list number column without SP automatically converting the blank to a zero?

 

I have a large number of controls and SP automatically changing the blank to a zero is not letting me work with other formulas that are dependent on whether the number column of the item is blank.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Patching an empty text input into number SP list column

Hi @MarcoQ96 ,

Could you please share a bit more about the Number fiels in your SP list? Do you set a Default value for it?

 

I have made a test on my side, and don't have the issue that you mentioned. If I do not specify any values within the Number field box in the Edit form, when I press "Submit" button, the number field would be blank.

 

As an fixed solution, please consider take a try with the following workaround:16.JPG

Set the Update property of the Amount2 (Number Data card) which contains the Number Text Input box (in your Edit form) to following:

If(
   IsBlank(DataCardValue18.Text),
   Blank(),
   Value(DataCardValue18.Text)
)

On your side, you should type (Set the Update property of the Number Data card which contains the Number Text Input box😞

If(
   IsBlank(NumberTextInputBox.Text),
   Blank(),
   Value(NumberTextInputBox.Text)
)

Please take a try with above solution, then check if the issue is solved.

 

If the issue still exists, please consider re-create your SP list, then re-generate an app based on your new list, then try it again, check if the issue still exists.

 

Best regards,

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Patching an empty text input into number SP list column

Hi @MarcoQ96 ,

Could you please share a bit more about the Number fiels in your SP list? Do you set a Default value for it?

 

I have made a test on my side, and don't have the issue that you mentioned. If I do not specify any values within the Number field box in the Edit form, when I press "Submit" button, the number field would be blank.

 

As an fixed solution, please consider take a try with the following workaround:16.JPG

Set the Update property of the Amount2 (Number Data card) which contains the Number Text Input box (in your Edit form) to following:

If(
   IsBlank(DataCardValue18.Text),
   Blank(),
   Value(DataCardValue18.Text)
)

On your side, you should type (Set the Update property of the Number Data card which contains the Number Text Input box😞

If(
   IsBlank(NumberTextInputBox.Text),
   Blank(),
   Value(NumberTextInputBox.Text)
)

Please take a try with above solution, then check if the issue is solved.

 

If the issue still exists, please consider re-create your SP list, then re-generate an app based on your new list, then try it again, check if the issue still exists.

 

Best regards,

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

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 (Last 30 Days)
Users online (5,777)