Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

reseting value in field passes 0 to reseted field


I have made a reset function on a field in ON CHANGE property

i made it to reset if entered value is >2.  

Required of the whole datacard is set to true


but when for example i enter value 10 and hit save button it for some reasons passes 0 to this field and writes the record to sharepoint list.

Why it passes 0 and not leaves it emty so that the Required property does the job further?


here is the code


If(DataCardValue2.Selected.Value = "somevalue", If(Value(DataCardValue4.Text)>2,Reset(DataCardValue4),false),false)

Post Prodigy
Post Prodigy

Do you have a default value of 0 for the column in SharePoint or on the field in the app?

Hi @notj no i do not have default values either in sharepoint either in modified form in powerapps

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (62,144)