Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
Displaying message when a non-valid response is entered
Displaying message when a non-valid response is entered
Post Reply
Like
34
Displaying message when a non-valid response is entered
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Marina
Marina
posted 11 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 6,
Visits: 12
Hi,
I would like inquisit to display a message if/when a user presses a non-valid key (e.g. if the valid keys are 'a' and 'z', and the participant presses 'f', I want to display "please press A for choice a, or Z for choice b"), but can't figure out how to do it from within the trial. Any suggestions would be appreciated!
Marina
Reply
Like
34
Dave
Dave
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 108K
To do this you would have to
(1) set the <trial>'s /validresponse to accept 'anyresponse' and then
(2) display that message via a whole bunch of /responsemessage attributes.
Reply
Like
31
Marina
Marina
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 6,
Visits: 12
Thanks Dave,
I figured this might be the case, but thought I'd ask just in case.
I tried to work around this by instead displaying a message after a 6-second delay if there is no response, reminding the participants of which keys to press. However, even though I set /responseinterrupt = immediate, it still waits out the full 6 seconds and displays the message, even if a valid response is entered right away. I include my code below. Any suggestions for how to fix this?
<trial choice>
/ validresponse = ("F", "J" "4" "6")
/ stimulustimes = [0 = easychoice_left, hardchoice_right; 6000 = reminder]
/ posttrialpause = 250
/responseinterrupt = immediate
/responsetrial = ("F", trial_add1)
/responsetrial = ("4", trial_add1)
/responsetrial = ("J", trial_add3)
/responsetrial = ("6", trial_add3)
/ontrialend = [values.totaltrials = values.totaltrials +1]
</trial>
Reply
Like
34
Dave
Dave
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 108K
Completing the full stimulus presentation sequence as given in /stimulustimes or /stimulusframes prior to accepting any responses is the expected (default) behavior. You can override this by specifying the /beginresponsetime or /beginresponseframe attribute (formerly /responsetime and /responseframe).
Edited
11 Years Ago by
Dave
Reply
Like
39
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
34
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search