I have came across below problem.
A form with both numeric (problem) and text fields(good)
When modify the numeric field say delete all and subimit form the change will not be reflected.
So I try to use Patch & IsBlank to update blank numeric fields to 0 and then SubmitForm.
But a second problem come with Etag Mismatch.
I can not just along use the patch function 1. due to large number of fields in the form 2. need to capture the content entered for text fields.
Is there any other method to update blank datacard value other than Patch?
Solved! Go to Solution.
Hi @Titiwai ,
I've made a similar test and met the same problem like your description.
The reason why you met this problem is that : " " is a text type, while the field is a number type.
So I suggest you use If statement.
If the textinput is empty, then update value with 0.
I suggest you set every field that you want to update with empty value's Update:
Please replace DataCardValue7 with its control's name.
Then, if you clear the data in the textinput, this field will update with "0".
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round