0 votes
ago in SoSci Survey (English) by s039192 (140 points)

Dear SoSci survey support team,

our participants are instructed to press F11 to enter the full screen mode for the experiment. To ensure that the full screen mode is actually entered, we want to record the key press.

Thank you so much for your support!

1 Answer

0 votes
ago by SoSci Survey (361k points)

You can capture keys via JavaScript window.addEventListener("keydown", ...) and use an internal variable to store whether F11 was one of the keys that was pressed.

For a related example, please see Continue by Pressing a Key and Internal Variables and JavaScript.

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

...