0 votes
ago in SoSci Survey (English) by s306607 (180 points)


<!-- // Hide the button SoSciTools.submitButtonsHide(); // After a timeout of 30 sec = 30000 ms, display the button window.setTimeout( SoSciTools.submitButtonsDisplay, 30000 ) // -->

Unfortunately this just makes the button disappear and reappear after the time. Is there any way to grey out the weiter button and it showing the timer?

1 Answer

0 votes
ago by SoSci Survey (350k points)

Is there any way to grey out the weiter button and it showing the timer?

You may want to disable and gray out the button. Here's possible code for such a function to replace the SoSciTools.submitButtonsHide:

function disableNextButton() {
    button = document.getElementById("buttonNext");
    button.setAttribute("disabled", true);
    button.style.opacity = "0.5";
}

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...