
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 01:55 AM
Hello Developers,
We have requirement for Service Portal catalog form. We need to redirect from one form to another form without knowing the end user. If end user selects any particular value then form will redirect to another form but we are getting alert box -
"Changes you made may not be saved". Thing is if they click on cancel, they will not redirect to another form and we want to prevent this case.
Is there anyway to disable this alert for particluar catalog form only.
Thanking you.
Regards,
Akshay
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2020 04:54 AM
correct! so we cant say that it comes from browser level.
although before redirecting we can use this code to avoid that popup.
top.window.onbeforeunload = null;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 04:09 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2020 10:17 AM
hi Akshay!
simple and easy trick before redirecting execute this code
top.window.onbeforeunload = null;
and there is also a property you may want to have a look.
glide.ui.dirty_form_support : Alert user navigating away from a modified form, with option to cancel navigation.
mark this correct if that solves your problem or help ful if this helped you in any way.
thanks
hammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 02:18 PM
Hi Hammad,
I have the different scenario
When user change the field values in form and when they go to next form. they are not getting popup "your changes may not be saved" in my custom investment portal. Please let me know how can I achieve this. what kind of script do I need to use for that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 03:06 PM - edited 10-20-2024 03:06 PM
I didn't get your question, can you explain in detail pls?
or contact me here on whatsapp I would feel happy to help you
+923063231735
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 08:17 PM
Hi Hammad,
I have q requirement that when user change values to the any field in one form and goes to the next form without saving first form field values. Users are not getting pop up as "your changes may not be saved". this is happening on my investment portal.
In the backend forms it's getting pop up, but in portal no pop up getting.
Thanks