
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 11:55 AM
Hello All,
There was a page created outside of service now. We want to make it so that if someone picks something specific from a drop down it redirects to our internal internet site. Is there anyway to do this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2014 10:55 AM
Found my own answer. Looks like I just need a client script for on change and look for when the variables changes.
function onChange(control, oldValue, newValue, isLoading) {
if (!isLoading) {
var reqType = g_form.getValue('request');
if (reqType == 'Redirect URL') {
window.open("http://www.google.com");
window.location = 'home.do';
}
}
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Add below in your client script
if (parent && parent.window) {
parent.window.onbeforeunload = null; // Disables the "unsaved changes" prompt
}