OK try this. add a code component to your routine where you have the textbox. Then in the ‘endRoutine tab’ enter the following:
thisExp=psychoJS.experiment;
thisExp.addData('this text', textbox_email._pixi.text);
This will save a column in your output file with the header ‘this text’ (change as you wish) and the value of the typed response.
Hope this helps,
Becca
PS. for future users ‘textbox_email’ is the name of the texbox component used