Delete portal record -- latest timestamp
I have established a series of buttons that enter various pieces of data in a portal. In case the user hits a button by mistake, I want them to be able to undo this action. What is the best way to do so?
I am guessing that I can create an UNDO button that will perform a script. I would guess:
Go to Portal Row
And then use a calculated function to go to the latest timestamp. But what function do I use.
If there's an easier way, please let me know.