feedbackOptions
Experiments
Layout switches for the feedback screen: center the feedback text, and/or draw the feedback on top of the still-visible trial screen instead of clearing it first.
Syntax
Section titled “Syntax”Put center in the cell to center the feedback text, or sameScreen to overlay the feedback on the still-visible trial screen. Combine flags with a semicolon:
center;sameScreenWrite the flags exactly as shown; the sameScreen spelling in particular must match (see Tips & gotchas). The value is a list of flags, not JSON; a grammar like {"showRT": true, ...} is not supported.
Options
Section titled “Options”| Flag | Effect |
|---|---|
center | Feedback text is centered in the display area |
sameScreen | The trial’s stimuli and buttons stay visible under the feedback text instead of being cleared first |
Anything else is silently ignored. There are no showRT, showScore, showCorrectAnswer, color, fontSize, or position options; RT/score display is done by putting %rt% etc. in the feedback text, and color comes from the colors column.
Defaults & missing values
Section titled “Defaults & missing values”If the column is absent or the cell is left blank, both flags are off: the feedback text is not centered, and the feedback replaces the trial screen instead of overlaying it.
Works with
Section titled “Works with”- Only relevant when a feedback message is actually shown (
feedback/feedbackCorrect/feedbackIncorrect). - With
sameScreen, the trial screen stays up while the feedback shows; response inputs are disabled during the feedback, and the feedback coloring is reset when the screen ends.
Examples
Section titled “Examples”Centered feedback:
| type | stimFormat | stim1 | keyboard | key | feedback | feedbackOptions | feedbackTime |
|---|---|---|---|---|---|---|---|
| test | .png | face | y n | y | correct: Match!;incorrect: No match | center | 1000 |
type,stimFormat,stim1,keyboard,key,feedback,feedbackOptions,feedbackTime test,.png,face,y n,y,correct: Match!;incorrect: No match,center,1000
Overlay feedback on the still-visible stimulus:
| type | stimFormat | stim1 | keyboard | key | feedbackCorrect | feedbackOptions | feedbackTime |
|---|---|---|---|---|---|---|---|
| practice | .jpg | scene | a l | a | Correct! | sameScreen;center | 800 |
type,stimFormat,stim1,keyboard,key,feedbackCorrect,feedbackOptions,feedbackTime practice,.jpg,scene,a l,a,Correct!,sameScreen;center,800
Tips & gotchas
Section titled “Tips & gotchas”- The overlay check matches
sameScreenanywhere inside the cell, so embedding it in a longer token still partially triggers the overlay behavior; keep each flag as its own token.
Common combinations
Section titled “Common combinations”feedbackOptions appears in these worked recipes:
- Accuracy feedback block: Score keyboard responses and show correct, incorrect, or timeout feedback after every trial.