survey.onComplete.add(async (sender, options) => {
//Show the saving message and tell survey model to wait with navigation
options.showSaveInProgress()
await upload(sender).then(() => {
//Show message about the success and tell survey that it can navigation now
options.showSaveSuccess();
});
});
The original code doesn't provide any information when the saving is over:
Updated The followng code should be used:
The original code doesn't provide any information when the saving is over:
T18274 - "Redirect to an external link after submission" does not wait for response upload https://surveyjs.answerdesk.io/internal/ticket/details/T18274