| Reference | Downloads | Github

Using Form Component to Make Questionnaires

OS (e.g. Win10): MacOS Mojave 10.14.6
PsychoPy version (e.g. 1.84.x): 3.1.2
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:

Need to create a questionnaire/survey routine in my experiment that can either allow text responses from participants or scale.
What did you try to make it work?:

I have my excel sheet but don’t exactly know how to implement it into the form component in builder. I looped the routine, set it to repeat 28 times (since there’s 28 questions), and set the text component with $questionText to every repeat. When I run the experiment it’s just a blank screen and then ends with an error screen.
What specifically went wrong when you tried that?:

  File "/Users/laurenf/Desktop/", line 84, in <module>
  File "/Applications/", line 83, in __init__
    self.scrollSpeed = self.setScrollSpeed(self.items, 4)
  File "/Applications/", line 223, in setScrollSpeed
    return len(items) * multiplier
TypeError: object of type 'NoneType' has no len()

Also how do I set up participant responses in both textbox/free response style and rating/slider style? Does forms just do it automatically?BPS.xlsx (32.6 KB)

Hi @lauren, this looks like an issue with your conditions file, it needs to have entries for each of the relevant headings. Try the attached:

BPS.xlsx (10.0 KB)