Hello,
I'm trying to create a formula where DataCard values will reset when the selection in a ComboBox is changed.
Currently, I have a ResetControl = True on all of the DataCard values, for when the Form is submitted, it would reset the values:
In the Edit Form OnSuccess property: Set(ResetControl,true);Set(ResetControl,false)
In the Datacard value Reset property: ResetControl = true
I found a solution by adding this (below) formula to the OnChange property of the ComboBox. Still, it is not working with the ResetControl formula I already had in the Reset property.
ComboBox OnChange formula: UpdateContext({ resetVar: true }); UpdateContext({ resetVar: false })
Error on the Reset property for the DataCard values: ResetControl=true; resetVar
How can I make this work?