Hello,
In my PowerApps form I have two choice fields. One choice field is called "problem code" and the other is called "sub category". There are 5 potential problem codes to choose from. The "sub category" choice is hidden and only becomes visible/required when someone selects problem code 1 or 2 in the previous choice. I have the OnChange of the problem code data card set with the following code.
If(ProblemCode.Selected.Value <> "3" Or ProblemCode.Selected.Value <> "4" Or ProblemCode.Selected.Value <> "5", Reset(SubCategory), NoChange).
If the user selects 1 or 2 as the problem code, selects a sub category, then changes their mind on the problem code, this clears the selection they made for the sub category. This works great when a new form is being filled out, but if we wish to change the problem code after the form was submitted, it does not make those changes and the item in SharePoint still shows the selected sub category value. When the form is edited, if problem 3,4, or 5 are selected, i would like the sub category to go back to null. Does anyone know how that can be done in PowerApps? I have tried a few things and have had no luck.
Thanks in advance,
Ben