Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Implicit Association Test (IAT) in version 3.15.9

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #199435 by Joffm
Hi,
a little bit of trial&error gave me this:

Change to:
$('div.iatWord2', thisQuestion).html($('tr.subquestion-list.unanswered:first .answertext', thisQuestion).html());





Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The following user(s) said Thank You: tpartner, Antonia-nie
The topic has been locked.
More
3 years 10 months ago #199437 by Antonia-nie
Replied by Antonia-nie on topic Implicit Association Test (IAT) in version 3.15.9
thanks a million, works perfectly.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199438 by tpartner
Thanks Joffm.

By the way the reason that I used .text() in the workaround (and question theme) was to avoid problems with HTML changes in future versions.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
3 years 10 months ago #199781 by Antonia-nie
Replied by Antonia-nie on topic Implicit Association Test (IAT) in version 3.15.9
Sorry, I have one last question :side:
After a word was presented in the center and one key was pressed (key type and reactiontime noted), is there a way that the next word will only appear if the correct key is pressed at some point? So you have to match the right corner& key before the next word appears.
Is there a way to put a condition for matching key and subquestion?
Hope it's clear what I mean.

Thanks for all your for great support.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199805 by tpartner
That would require a significant rewrite of the iatShowWord() function.

How would you define which key is correct for each item (sub-question)?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Antonia-nie
The topic has been locked.
More
3 years 10 months ago #199825 by Antonia-nie
Replied by Antonia-nie on topic Implicit Association Test (IAT) in version 3.15.9
Yes that's the problem.. Thought of somthing like only showing the next word with the combination of key and subquestionvariable with a if condition. I'm very new to Javascript and thought there might be an easy way I I might overlook. But not too bad, I am also happy without this function.

Thanks for your help
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose