Home > Forum > General > User reminder

User reminder
0

Hi,
Is it possible to remind the user to save the form after adding several items to the item list (WFD_SubElems).
I ask because users report a problem, such that they forget to save (click on the transition path).

MVP

Hi Radel,

I’m also not sure in which context this is necessary. If they leave the element they should get the message from Jack. This should apply also if the tab is closed.


The only situation I could think of, if the users leave the tab open in the background.
Then you could get into a situation where you forget to save.
In theory you could create some JavaScript to check whether an alert should be created after a specific time. I’m not sure that it would work in an inactive tab though. You could test it by setting a timeout to 3 minutes, execute the code and switch to other tabs so that the browser may decide to put these to sleep.

Best regards,
Daniel

In reply to: Radek

can you share your checked solution? How to do that?

Yes of course
but I only checked (what Daniel wrote about) whether the script works in the case of an inactive browser tab/window.
Below is a script that displays an alert after 2 minutes OR automatically saves the document

setTimeout(() => {
alert(' test '); //alert
//OR
$("#SaveToolbarButton").trigger('click'); //"autosave"
}, "120000");

but I think that html field with a message would be better/easier ;)