Group: Forum Members
Posts: 23,
Visits: 73
|
+x+xHello, I have a series of openended questions, and when I don't require a response, then pressing control+enter to submit the answer to a question tends to skip through multiple of them by submitting (blank) answers to the following questions also. This seems to depend on how long I hold the keys down for, so for example, if I keep holding down control+enter after submitting the first question, it will advance through all of them. Is there a way to fix this without setting required response to true? Thanks! Here is an example that will do it. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> If you're worried about inadvertently submitting blank answers by holding down CTRL+ENTER for too long, I'd recommend inserting a /posttrialpause sufficiently long to release the keys before the next question starts. I.e. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / posttrialpause = 1000/ stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / posttrialpause = 1000/ stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / posttrialpause = 1000/ stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> Alternatively, you can insert a trial that requires a different response to advance to the next question, e.g. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." / branch = [ trial.nextq; ]</openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." / branch = [ trial.nextq; ]</openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <trial nextq> / stimulusframes = [1=nextmsg] / validresponse = (57) / recorddata = false </trial> <text nextmsg> / items = ("Press SPACE to go advance to the next question.") </text> Thanks!
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
+xHello, I have a series of openended questions, and when I don't require a response, then pressing control+enter to submit the answer to a question tends to skip through multiple of them by submitting (blank) answers to the following questions also. This seems to depend on how long I hold the keys down for, so for example, if I keep holding down control+enter after submitting the first question, it will advance through all of them. Is there a way to fix this without setting required response to true? Thanks! Here is an example that will do it. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> If you're worried about inadvertently submitting blank answers by holding down CTRL+ENTER for too long, I'd recommend inserting a /posttrialpause sufficiently long to release the keys before the next question starts. I.e. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / posttrialpause = 1000/ stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / posttrialpause = 1000/ stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / posttrialpause = 1000/ stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> Alternatively, you can insert a trial that requires a different response to advance to the next question, e.g. <block end> / trials = [1=q1;2=q2;3=q3] </block> <text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q1> / stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." / branch = [ trial.nextq; ]</openended> <text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q2> / stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." / branch = [ trial.nextq; ]</openended> <text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text> <openended q3> / stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended> <trial nextq> / stimulusframes = [1=nextmsg] / validresponse = (57) / recorddata = false </trial> <text nextmsg> / items = ("Press SPACE to go advance to the next question.") </text>
|
Group: Forum Members
Posts: 23,
Visits: 73
|
Hello, I have a series of openended questions, and when I don't require a response, then pressing control+enter to submit the answer to a question tends to skip through multiple of them by submitting (blank) answers to the following questions also. This seems to depend on how long I hold the keys down for, so for example, if I keep holding down control+enter after submitting the first question, it will advance through all of them. Is there a way to fix this without setting required response to true?
Thanks!
Here is an example that will do it.
<block end> / trials = [1=q1;2=q2;3=q3] </block>
<text q1> / items = ("Question 1") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text>
<openended q1> / stimulusframes=[1=q1] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended>
<text q2> / items = ("Question 2") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text>
<openended q2> / stimulusframes=[1=q2] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended>
<text q3> / items = ("question 3") / hjustify = left / position = (50%, 30%) / size = (70%,20%) / fontstyle = ("Arial", 2.5%, false, false, false, false, 5) </text>
<openended q3> / stimulusframes=[1=q3] / position = (50%,60%) / inputdevice = keyboard / charlimit = 10000000 / numlines = 5 / linelength = 50 / required = false / buttonlabel = "Press CTRL and ENTER to continue." </openended>
|