Reply To: conditions in self-paced reading experiment

PennController for IBEX Forums Support conditions in self-paced reading experiment Reply To: conditions in self-paced reading experiment

#5673
iasmaa
Participant

Hi,

Yes I did. It shows only some of the dashed sentences but not all! I do not know why.

Template(row => 
    newTrial("trials",
        newText("content", row.S)
           .print()
        ,
        newKey(" ")
           .wait()
        ,
        getText("content")
           .remove()
        ,
        newController("DashedSentence", {s: row.DS})
           .print()
           .wait()
           .remove()
           .log()
        ,
        newText("Answer the following question based on the dashed sentence you have just read <br/> <br/>")
           .print()
        ,
        newScale("yesnocorrect",  "Yes","No" )
            .labelsPosition("right")
            .keys()
            .before( newText(row.CQ) )
            .print()
            .wait()
            .remove()
           .log()
        ,
        newText("Was the dashed sentence grammatically correct? <br/> <br/>")
            .print()
        ,
        newScale("correct", 5)
            .keys()
            .before(newText("completely incorrect"))
            .after(newText("completely correct"))
            .print()
            .wait()
            .remove()
            .log()
        ,
        getText("Was the dashed sentence grammatically correct? <br/> <br/>")
            .remove()
        ,
        newText("Would you replace the article used in the dashed sentence with another one? <br/> <br/>")
            .print()
        ,
        newScale("correct", "  the  ", "  a  ", "  an  ", "(No Article)")
            .labelsPosition("top")
            .before(newText(row.BMC))
            .after(newText(row.AMC))
            .print()
            .wait()
            .log()
    )
    .log("DashedSentence", row.DS)
    .log( "CQcorrect" , row.Correct1)
    .log( "RQcorrect" , row.Correct2) 
    .log( "MCcorrect" , row.Correct3)
    .log("group", row.group)
)