psychopy.org | Reference | Downloads | Github

How to display dollar signs in textbox (backslash no longer works)

If this template helps then use it. If not then just delete and start from scratch.

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

What did you try to make it work?:

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Trying to display dollar signs. I tried the backslash, but the backslash is printed onto the screen. The text is like this :

You will be presented with either $5. 00 or $10.00.

Hi @_junaid123 , a simple hack would be to change the text using a code component. In the begin Routine tab

text-component.text = "$5.00 and $10.00"