Skip to content Skip to sidebar Skip to footer

Api Call And Navigation Controls With Surveyjs

I am using SurveyJS (https://surveyjs.io/) to make a simple site with few questions. I am able to do all my logic with the options provided by SurveyJS. However, what I'm looking t

Solution 1:

survey.onCurrentPageChanging.add(function (sender, options) {
    if(survey.data.year === "1991") {
        // This prevents survey go to the next page
        options.allowChanging = false;
    }
});

Post a Comment for "Api Call And Navigation Controls With Surveyjs"