How can we add a redirection after select the best answer?

Solved17.23K viewsGeneral
0

Hi, my question is, how can we add a redirection after the user select the best answer? I found an action hooks “ap_select_answer,” which will trigger after selecting the best answer, but it will take a long time on loading and won’t do the redirection. So I wonder if anyone has a possible solution to solve this?
Best.

Question is closed for new answers.
Selected answer as best
0

Hello,
You can use JS callback for redirect:

AnsPress.on('answerToggle', function(){
    window.location = 'YOUR URL HERE'
})

Selected answer as best
You are viewing 1 out of 1 answers, click here to view all answers.