When we checked the Radio Button Want to redirect to other page in other window

Asish1
Tera Contributor

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

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

@Asish 

Have a onChange client script on the checkbox add below lines

  if (newValue == "true") {
        var url = "https://community.servicenow.com/"
	
         top.window.open(url);
    }
Best Regards
Aman Kumar

View solution in original post

12 REPLIES 12

Hello Ashish 

try  top.window.location('your URL')

 

 

Hi @Mohith Devatte 

Thanks for the reply !!!

Tried this code but this one also not working.....

 

Thanks,

Asish

Then try @Aman Kumar solution it works 

Mohith Devatte
Tera Sage
Tera Sage

Hello Ashish,

you can use top.window.location('your URL') in your script 

PLEASE MARK MY ANSWER CORRECT IF IT HELPS YOU

Aman Kumar S
Kilo Patron

@Asish 

Have a onChange client script on the checkbox add below lines

  if (newValue == "true") {
        var url = "https://community.servicenow.com/"
	
         top.window.open(url);
    }
Best Regards
Aman Kumar