Customize the start screen
Hi! The start screen of expyriment asks for a subject number. Is there a possibility to add multiple input lines? For example I want to also be able to input not only the subject number but also the session as the participants will undergo two sessions.
Going even further: I would maybe even want to change the experiment based on the input. For example, by choosing the language at the start screen. This is of course also possible in other ways (e.g:
str(input("Language: "))
However, this requires typing in the coder. It would be most neat to have it all in that start-screen, so people who aren't used to coding can use the GUI.
In short: how flexible is the start-screen and how to adapt it?
Comments
Hi, the easiest is to do this in an extra screen following the subject ID screen, using the class exyriment.io.TextInput (https://docs.expyriment.org/expyriment.io.TextInput.html).
Example:
language = expyriment.io.TextInput("Language:").get()Thanks!