HI Jane,
Good day to you.
Could you help me how to hide the complete button from Preview Tab?
looking for you support.
Best Regards,
Shubham Sharma.
HI Jane,
Good day to you.
Could you help me how to hide the complete button from Preview Tab?
looking for you support.
Best Regards,
Shubham Sharma.
Hello Shubham,
Please review this example.
You need to turn off the complete button as the following:
JavaScriptcreator.onSurveyInstanceCreated.add(function(sender, options) {
//If we are creating a surface for "Test Survey" tab
if(options.reason == "test") {
const completeAction = options.survey.navigationBar.getActionById("sv-nav-complete");
completeAction.visible = false;
options.survey.onCurrentPageChanged.add((sender, options) => {
completeAction.visible = false;
});
}
});
Here is the example.
Thank you,
Andrew
SurveyJS Team