Hi Everyone
Is it possible to capture the date when a user updates information in the app?
In my app, I would like my users to be able to update their weight or add notes for me to review (I used a number and comments element) but I would like to know what day the last updated the field.
Yes, all you need is a date/time column to store the value, then set it with your Add Row or Set Columns action, using the βCurrent Date/Timeβ special value.
Yes, Darren, but what if user does not submit but cancels? The date/time should not be set in that case. But only when the submit is done and taken into account technically.
You could, but that really isnβt necessary. Two scenarios:
Using the native add/edit form:
Values are only written to the underlying table once the user submits. If the user cancels, nothing is written.
Using a custom add/edit form:
When using custom forms, you would normally use a button bar with Submit/Cancel labels. If the user chooses Submit, then the associated action adds or updates a row. If the user chooses Cancel, then the associated action does nothing. Well, maybe display a message and go back, or hide the form.