Message constraint

in image 1

my first select displays the category A this category displays a sub category A1 in turn this displays a third category A1.1 and then this displays the subsequent fields I fill in the fields but suppose I make a mistake in the third category A 1.1 and the change to category A 2 (image 2)
and they are exactly the same fields but in the case of Image, file and signature does not delete what was previously loaded and in the other fields it puts the fields in red in automatic by the data deleted previously in category A 1.1.
someone knows how to reset these messages once you leave that category to enter another and also how to reset the image, file and signature fields once you leave the form

@gwen1805, would you mind checking this out in Collect android app too to see if the same happens?