Announcements
Hello all!
Can someone tell me how to display and or update a timestamp if a toggle is moved on and off?
Thank you in advance!
Hi @brockjvl,
You do it with the UpdateContext() function. On your Toggle OnChange property- UpdateContext({timestamp:Now(), showing:!showing). Put a TextInput box on the screen and set its Default property to timestamp, set its DisplayMode- View and set its Visible property- showing. Now when you change the toggle, the TextInput box will display the timestamp in read only mode and when you toggle again, it will hide the textbox.
@Drrickryp ,
Thank you for the reply. I will apologize up fron, but I am a complete noob with PowerApps. So I followed your steps, to the best of my knowledge, and I still seem to be having issues. Am I missing something, is my formatting wrong? Please take a look at my screenshots and see if I followed your directions properly.
Again, thank you for your help.
That worked!
Thank you @Drrickryp for your assistance!
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 329 Most Valuable Professional
11manish 209 Super User 2026 Season 2
Mohsin Ali 179