- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 11:28 AM
I have an onchange redirect that is triggered when a user selects a specific value from a list. Recently a popup began appearing that asks if the user is sure they want to leave. I've tried using g_form.modified but it hasn't had an effect on the issue. Does anyone have any recommendations? I've also tried disabling this sys property glide.ui.dirty_form_suppor
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 12:49 PM
Give this a try.
g_form.clearValue('impact');
g_form.clearValue('comments');
g_form.clearValue('category');
top.window.onbeforeunload = null;
top.window.onunload = null;
top.window.location = 'YOUR URL HERE';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 04:39 AM
For catalog form using contextual search in the custom type of variable, could you please help me how can I achieve when clicked on the 'order' button of the result to redirect to the page without leave page? popup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 09:54 AM
Thanks MB - Exactly what I needed.
Appreciate your help!
Best regards,
Eamonn