I am trying to get people to type in emails so I have created a textbox component that reads ‘type email here’. However, after typing the email, the output data is just saving the ‘type email here’ string and not what was typed.
I followed every step from https://www.youtube.com/watch?v=a9xQlFx5dOQ but nothing has worked.
Here is my project: https://pavlovia.org/ben.muzekari/neuroperfect
I have taken a look and I can’t seem to spot any major discrepancies between mine project and the demo. Although, mine I am trying run online via Pavlovia but I don’t think that should matter. Can you spot any key differences that may be contributing to the problem?
hi steve - I keep getting a 404 page not found error - please could you double check your privacy settings? alternatively you can ad me as a member to the project whilst I take a look (username is lpxrh6)
@Becca hello! my experiment has 5 sections and in all, I am using the textbox component. In the introductory section and the 2nd part, the textbox component is storing the data perfectly. The remaining columns are blank. I am using image stimuli for the 4 main routines. all of the routines are linked to the same csv file. your help will be appreciated
Plus unlike the introductory video, you have posted for the textbox component I was unable to use the mouse stimuli because my experiment crashes. I even tried to use the routines from the GitLab you have uploaded. As a solution, I have used the ‘right’ key to submit the response. I hope this is not leading to the issue. If there is a solution for the same let me know. My mouse component works perfectly if i just have to click anywhere on the screen but if it has to click on a particular variable it crashes.
It sounds like there might be a few elements to this (textbox issues, mouse issue) - please could you start a new thread so that we can address these individually? It would be great if you could please provide more info such as the version of PsychoPy you are currently using and if you face the problem locally, online or both - thanks!
Becca
Hi Becca, I have seen that you have been able to solve the problems your colleagues have had with the “Textbox” element in their experiments.
The issue is that in Psychopy the experiment works great (it saves the answers) but when I try to run it in Pavlovia the errors start.
In my experiment the participants have to read a text and then answer 10 questions about it. I have configured it so that on each page they get the question and the text box for them to write. The first question of each text (there are 10 in total) works without any problem, but it doesn’t let them write any more answers until a new text appears.
Have you tried adding a code component with code type “JS” and in the begin routine tab write textbox.refresh() where “textbox” corresponds to the name of your textbox component
I have tried another experiment and I get the following in Psychopy:
AttributeError: ‘TextBox2’ object has no attribute ‘refresh’
Alert 4405:Editable textbox component textbox_2 and keyboard component key_resp_6 in the same routine may compete for keypresses
For further info see 4405: Textbox and keyboard conflict — PsychoPy v2022.1.4