Feedback only for negative responses in Psychopy

Here’s an example you could build on:

and this to pull from the excel sheet: How to randomize feedback or create conditional feedback

The only real difference for your case is that you need to look at the actual value participants provide and not just whether they pressed the right key. That depends on how you are doing your text entry.