Navigation überspringen

[Gelöst] Warning when not saved

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 4 Jahre, 2 Monaten. 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 -

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Puntorosso vor 4 Jahre, 2 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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!