Creating an Undo button

Is it possible to create a button to undo the action of the last button used. For example I have a tracking app that mainly uses the increment action button, so if a button was clicked accidentally is there a way to make a button to undo that action. Also is it possible to create a date log of each time one of those button is clicked.

Hi Baldwin, can you explain the use of your Increment Action button in detail?

the increment action add a tally of 1 to procedures that are completed. It simply just used as a counter button.

Maybe what you can do is use 2 buttons and add visibility to them.

One button for completing the action - and set the visibility to “SHOW WHEN INCREMENT COLUMN IS EMPTY”

Create another button for UNDO. Set the action to - Clear value of that increment column - and set the visibility to “SHOW WHEN INCREMENT COLUMN IS NOT EMPTY”

If the counter does not ever reach 2, you can use Hassan’s method. If it can reach 2 or more, you can use an increment action but use a negative value (minus 1).

1 Like

And for the date log - create a new column for undo time stamp, and on the undo button’s action set the column value of timestamp to current date and time. In that way you will see when was the last time the undo button was pressed.

1 Like