cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Highlighted
Community Support
Community Support

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

Hi @Anonymous ,

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
Highlighted
Community Support
Community Support

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

Hi @Anonymous ,

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

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