Announcements
I'm trying to make it so if I edit a date Datacard and I want to go back to the original date that when I click 'cancel' on a popup it will restore the original date. I can't figure out how to get it done.
@nvargas
Reset the control!
It will revert to the default value (which is the original)
So, on the button OnSelect action: Reset(yourDateControl)
I hope this is helpful for you.
@RandyHayes
I tried that and it shows an error
Where are you putting your Button? If it is outside of the Form, then you cannot reset controls in it from outside.
So instead of dealing with that, have your control in the form reference your button outside...that works!
So now, change the Reset property on your DataCardValue Control to: yourCancelButton.Pressed
And get rid of the formula in the OnSelect action that I provided earlier.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 528
WarrenBelz 426 Most Valuable Professional
Valantis 306