| Reference | Downloads | Github

Using a checkbox in psychopy

Is there a way to use checkboxes in PsychoPy?

In the context of an experiment I would like to have one page, where the experimenter chooses one or several from a set of experiment-parts that shall be executed.

This could be achieved with the “Form” module in the builder. The drawback of this solution is that one would need to indicate yes/no or each experiment-part. I’d prefer to simply check on checkboxes.

@Guido_Biele, creating checkboxes can be done using shapes and code. See the attached for an example.

checkbox.psyexp (14.2 KB)

1 Like

Hi @dvbridges, I’m trying to use checkboxes for my online study. I used your example as a template, but I can’t figure out how it is possible for participants to uncheck a box, if it was checked unintentionally. Could you try to help me with that?
And will this example also work on Pavlovia?

Thanks a lot!