1

I have a radiogroup question in my SurveyJS json, and I want to redirect the user to another page if they choose a particular choice from that question. Otherwise, I want them to keep taking the survey. Is that possible?

(I'm using react/next.js to build the survey)

letie
  • 704
  • 2
  • 10
  • 20
  • According to [the documentation](https://nextjs.org/docs/api-routes/response-helpers#redirects-to-a-specified-path-or-url) there is. Create a handler as shown for the survey question you want to react to. – Randy Casburn Mar 06 '23 at 21:02
  • @RandyCasburn I know how to redirect to a URL with nextjs. What I don't know is how to call a handler or function from the user answer with SurveyJS https://surveyjs.io/documentation – letie Mar 07 '23 at 13:02

1 Answers1