PennController for IBEX › Forums › Support › Leaving a comment after an acceptability judgment task item
- This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by
Jeremy.
-
AuthorPosts
-
October 27, 2021 at 7:34 am #7443
jay0845ParticipantHi,
In my linguistic experiment page, I am trying to have a pre-practice section where after participants judge the acceptability for each pre-practice item they can see a short comment. For example, after they make an acceptability judgment for a pre-practice item sentence like “The stuntman smashed sixteen cars in five minutes.”, I would like them to see a comment like “This sentence is usually perceived as very natural. In such a case, you were expected to give the sentence a very high rating.” For now, I have the following code:
// Pre-practice Template("pre-practice.csv", row => newTrial( "pre_practice" , newText("sentence", row.SENTENCE) .cssContainer({"margin-top":"2em", "margin-bottom":"2em"}) .center() .print() , newScale(7) .before( newText("left", "<div class='fancy'>(very unnatural)</div>") ) .after( newText("right", "<div class='fancy'>(very natural)</div>") ) .keys() .log() .once() .labelsPosition("top") .color("LightCoral") .center() .print() .wait() , // Wait briefly to display which option was selected newTimer("wait", 300) .start() .wait() , newText("comment", row.COMMENT) .cssContainer({"margin-top":"2em", "margin-bottom":"2em"}) .center() .print() .wait() ) )The issue with this code is that after they see the comment for the first pre-practice item, it is stuck and it does not move to the next one. How can I fix this issue?
Thank you very much for your support and help in advance.
Jungsoo
October 27, 2021 at 11:07 am #7445
JeremyKeymasterHi Jungsoo,
There is no
waitcommand for Text elements: https://doc.pcibex.net/text/How do you want the experiment to move on to the next trial after displaying the comment? Should the participant click a button? Press a key? Should the experiment automatically move on after a timer?
Jeremy
-
AuthorPosts
- You must be logged in to reply to this topic.