- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 11:03 PM
Hi,
We have 3 radio buttons in a form, whenever I checked the 3rd radio button then it should be redirected to a page in other window is it possible, if yes please help...
Thanks,
Asish
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 02:36 AM
Have a onChange client script on the checkbox add below lines
if (newValue == "true") {
var url = "https://community.servicenow.com/"
top.window.open(url);
}
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 11:45 PM
Hi Asish,
You can create an onChange client script and use below code in the script:
window.open("https://community.servicenow.com/","_blank");
Replace "https://community.servicenow.com/" with the url you want.
If my answer helped you in any way, please then mark it as helpful.
Taranjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 12:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 01:16 AM
Try this:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '')
return;
if (newValue == 'value') { // value of the radio button
window.open("https://community.servicenow.com/","_blank");
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 01:57 AM
Hi
Thanks for the reply !!
Tried with the script you have kept.. but operation is not happening.
Thanks,
Asish