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

Solved17.85K 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