Announcements
Hello,
I have a yes/no (DataCardValue1) toggle that when pressed I would like for 1 text box (textinput1) to show the date and time "dd mmm yy hh:mm" (Time in a 24 hour format) and another box (textinput2) to show the user name of the person who pressed the button.
Is there any way to do this? I had a solution earlier that almost worked but every time I went to edit the entry it re-updated the time which didn't really work for me (I'd only want an update after the toggle was pressed).
Can anyone help?
Thanks
Aaron
In the OnCheck of the Toggle create a variable;UpdateContext ({varTime, Text( Now(), DateTimeFormat.LongDateTime )})
Then in the text box: varTime
in the other textbox: User().FullName------------If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi,
Sorry that didn't seem to work - I'm getting an error with the time code . Also, I only want the name of the user who clicked the toggle to be shown in the other box but it seems that whenever someone accesses it, it'll change based on who last saved it. I've attached some screenshots to demonstrate.
Is there any workaround you can think of?
Thanks so much for the help - really appreciate it.
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 541
WarrenBelz 434 Most Valuable Professional
Valantis 289