# Typed responses and randomization of questions into psychopy

**URL:** <https://discourse.psychopy.org/t/typed-responses-and-randomization-of-questions-into-psychopy/23383>\
**Category:** Builder\
**Tags:** randomization\
**Created:** [June 6, 2021, 5:27am UTC](https://discourse.psychopy.org/t/typed-responses-and-randomization-of-questions-into-psychopy/23383 "2021-06-06T05:27:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddie123](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@eddie123](https://discourse.psychopy.org/u/eddie123)\
**Post date:** [June 6, 2021, 5:27am UTC](https://discourse.psychopy.org/t/typed-responses-and-randomization-of-questions-into-psychopy/23383/1 "2021-06-06T05:27:46Z")

</div>

**OS** (MacOS 10.15):  
**PsychoPy version** (3):

Hi everyone,  
After taking 2 weeks trying to figure this out through tutorials etc, I’m turning to the psychopy community for some help! I’m completely new to python and psychopy.

**What are you trying to achieve?:**  
For my experiment, I have a bunch of questions in a csv file, and I want to get them into psychopy and make them randomized. Each question will be presented, I want to give participants a place where they can enter their answer to each question.

**What did you try to make it work?:**

I tried to use the typed responses code example of text input from pavlovia, and I also tried doing it from the builder but nothing would show up on the screen.

If anyone has any suggestions on how to go about doing this would be great! Thank you in advance.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [June 6, 2021, 6:40am UTC](https://discourse.psychopy.org/t/typed-responses-and-randomization-of-questions-into-psychopy/23383/2 "2021-06-06T06:40:23Z")

</div>

Typed responses have improved in recent versions. I still tend to use a code based solution but if you upgraded to 2021.1.4 then the editable text box works fairly well. My self paced reading demo has a comprehension question after each sentence using it.

> [@PsychoPy Online Demos](https://discourse.psychopy.org/t/psychopy-online-demos/22319#self-paced-reading-codehttpsgitlabpavloviaorgvesprself-paced-reading-try-ithttpsrunpavloviaorgvesprself-paced-reading-discussion-threadhttpsdiscoursepsychopyorgtself-paced-reading-task-a-bug-in-the-flow21946-14):
>
> If you have routines or experiments that are likely to be useful to others, please create a post in this thread, editing your post to add new demos so there is one post per creator. Ideally set your demos so they can be tested without consuming a credit (if you don’t have a site license) by adding a final routine that can’t end, disabling save incomplete results and adding a small number of credits. Please do not discuss the demos in this thread or create more than one post unless you have a la…

---

<div class="post-metadata">

**Author:** ![eddie123](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@eddie123](https://discourse.psychopy.org/u/eddie123)\
**Post date:** [June 6, 2021, 7:04am UTC](https://discourse.psychopy.org/t/typed-responses-and-randomization-of-questions-into-psychopy/23383/3 "2021-06-06T07:04:22Z")

</div>

@wakecarter thank you so much for this!
