Hi,
Simple question here.
How can I clear, for example, a DataCardValue1 when the DataCardValue2 is modified ?
I tried to set the Reset property of my DataCardValue1 on ResetControl, and then set the OnChange property of DataCardValue2 on Set(ResetControl;true) but it doesn't work.
Thanks for your answers.
Arman
Solved! Go to Solution.
Hi @v-siky-msft @iAm_ManCat ,
It appears that when personalizing the forms in PowerApps, the formulas won't work.
However, I've created an app and it works with the following property:
DataCardValue1 : OnChange -> Reset(DataCardValue2)
Since my form is going to be filled through the app, this solution is okay for me.
Thanks again for your help.
Arman
Could you try setting to false then to true, like
Set(ResetControl; false) Set(ResetControl; true)
@iAm_ManCat |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
Hi @Anonymous ,
Rest can only reverts to its default value. If you want to clear it, please try this:
Modify the Default property of DataCardValue1 to
If(ResetControl,Blank(),Parent.Default)
Then when the form is submitted or Reset, set the ResetControl to false to show the default value.
Hope this helps.
Sik
Hi @v-siky-msft @iAm_ManCat ,
It appears that when personalizing the forms in PowerApps, the formulas won't work.
However, I've created an app and it works with the following property:
DataCardValue1 : OnChange -> Reset(DataCardValue2)
Since my form is going to be filled through the app, this solution is okay for me.
Thanks again for your help.
Arman