Could I make a Question Choice a hyperlink?

JLeong
Mega Sage

I need my selection list to be hyperlinks. I would like to link it to another form, is this possible?

Thanks in advance.

1 ACCEPTED SOLUTION

Raju Koyagura
Tera Guru

I am not sure about providing hyperlinks in choice list but there is an alternate workaround for this applying onChange script based on the choice values.


Script:


function onChange(control, oldValue, newValue, isLoading, isTemplate) {


    if (isLoading || newValue == '') {


          return;


    }




    if(newValue=="Your Choice Value 1")


    window.location.href='problem.do';


if(newValue=="Your Choice Value 2")


    window.location.href='incident.do';


.............................


}


View solution in original post

13 REPLIES 13

Oh yeah, you were right. I used IE and it asked me for my credentials and I get the error below:


find_real_file.png



When I clicked "Open this content in a new window", it launched the form.



That means, I really need to find a way to open it in a new window for it to work.


Change the url with some other one and test it once again, if that works then the issue is only with your actual url. It might be some security connection related stuff because it is https one.



Sent from my iPhone


It's working now, I removed "https://rrd.service-now.com/" from the URL



Thanks for your assistance!


If that solves your issue, please mark it as correct answer.



Sent from my iPhone