| Reference | Downloads | Github

Allowing special characters to be typed in the online experiment


I am very new to coding so please let me know if I am not providing enough information.

I am using the code from textInput demo to allow participants to type in answers to demographic questions. However, when they press a special character, it spells out the name of the character instead of displaying the actual character (e.g. “slash” instead of “/”).

Could you please let me know what to add to my code to allow special characters?

Here is the screenshot from “Each Frame” portion of the code:

In principle look at your code to see how it deals with space and then create more lines like that for each special character you want them to be able to type.

Thank you! That was such an easy fix!