Allow your clients/users run survey only one time.

Source code: Survey setup
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
Survey.Survey.cssType = "bootstrap";
function onIsSurveyCompleted(success, result, response) {
    if(!success) return;
    if(result == 'completed') {
        alert('You have already run the survey!');
    } else {
        runSurvey();
    }
}
function runSurveyCheck() {
    var clientId = document.getElementById('clientId').value;
    new Survey.dxSurveyService().isCompleted('47e699f7-d523-4476-8fcd-be601c91d119', clientId, onIsSurveyCompleted);
}
function surveyComplete(s) { 
    document.getElementById('surveyContainer').innerHTML = ""; 
    document.getElementById("clientIdContainer").style.display = "inline";
}
function surveySendResult(survey) { 
    var text = "clientId:" + survey.clientId + ". The results are:" + JSON.stringify(survey.data)  + String.fromCharCode(13, 10);
    var memo = document.getElementById('sentResults');
    memo.value = memo.value + text;
}


function runSurvey() {
    document.getElementById("clientIdContainer").style.display = "none";    
    survey.sendResultOnPageNext = document.getElementById('sendResultOnPageNext').checked;
    var clientId = document.getElementById('clientId').value;

    $("#surveyElement").Survey({
        model: survey,
        clientId: clientId,
        onComplete: surveyComplete,
        onSendResult: surveySendResult
    });

}

var survey = new Survey.Model({
        surveyId: 'e7866476-e901-4ab7-9f38-574416387f73',
        surveyPostId: 'df2a04fb-ce9b-44a6-a6a7-6183ac555a68'
}, "surveyContainer");
window.runSurveyCheck = runSurveyCheck;


Your client Id:

survey.clientId = yourValue;

Send the survey results before moving on the next Page: default is false.

If you have a long survey, many your users may not finish the survey and enter the data on few pagers on only the first one. If you still want to save the information from incompleted surveys, set this property to true. The clientId property should bet set correctly, otherwise the data of others users may be ovewritten.

survey.sendResultOnPageNext = yourvalue;

Survey results sent to the server.