Forum Discussion

Vinayaka's avatar
Vinayaka
Contributor
8 years ago

Email_Link_Update

Can you please provide your suggestion on below requirement.

 

Please click on any article, below the article page you will able to see this option.

 

For ex:  https://helpzone-stage.cisco.com/t5/Compensation/Leave-Travel-Assistance-LTA-Policy-India/ta-p/1152 - click on this link

 

 

 

  1. When we click on the “No” button that page should navigate to this chat wizard  page:  “https://helpzone-stage.cisco.com/t5/custom/page/page-id/ChatWizard

ou can reach out to me for suggestions

 

2 Replies

  • BradR's avatar
    BradR
    Khoros Alumni (Retired)
    8 years ago

    Hi Vinyaka,

     

    I'd like to try and clarify your question for our developers, which is that you are looking for is a way to have one of the responses from the TKB Helpfulness widget open a new page in addition to tracking the users response.

     

    I'm not sure if that's possible but I think that's really the core question here.

  • Vinayaka - The links you have given are not accessible. From my understanding and as BradR posted, there could be two scenarios. 

     

    1.  Click on NO button and navigate the user to a new page. 

        This could be done using jquery. You need to bind a click function on a NO button.

      

    $('#someButton').click(function() {
        window.location.href = '/t5/custom/page/page-id/ChatWizard';
        return false;
    });

    Doumentation https://www.w3schools.com/js/js_window_location.asp

     

    2. Click on NO button and open a new tab for tracking user response. 

      

    $('#someButton').click(function() {
        window.open("/t5/custom/page/page-id/ChatWizard");
        return false;
    });

    Documentation https://www.w3schools.com/jsref/met_win_open.asp