Saltar navegación

[Resuelto] Warning when not saved

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

Which is the best way to warn users, if they are leaving the page or loop-item, without saving a form?

Solution:

It needs custom JS codes, for example below thread:

https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes

See the answer "Long, correct answer" in above thread.

Relevant Documentation:

This support ticket is created hace 3 años, 11 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Puntorosso hace 3 años, 11 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#2059067

Which is the best way to warn users, if they are leaving the page or loop-item, without saving a form?

#2059351

Hello,

It needs custom JS codes, for example below thread:
https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes
See the answer "Long, correct answer" in above thread.

#2061827

Perfect, thanks!