choose preference only once


choose preference only once

Author
Message
Johanne
Johanne
Respected Member
Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)

Group: Forum Members
Posts: 5, Visits: 46
Hello, 

I have a question considering a script that I'm writing with Inquisit 3. 
There are three different tasks and the participants can choose in which order they make these tasks. 
This is now possible with a surveypage.
However, when one task is completed this task should not be an option anymore in the dropdown menu. 
Is there a simple way to realize such a proceeding?
See part of the script below. 

Thanks in advance!
Johanne

<expt aaselect>
/ subjects = (1 of 1)
/ blocks = [1=preference]
/ finishlabel = ("volgende")
/ branch = [if(values.experimentswitch==1)expt.aversion]
/ branch = [if(values.experimentswitch==2)expt.bversion]
/ branch = [if(values.experimentswitch==3)expt.cversion]
</expt>

<block preference>
/ trials = [1=selectpreference]
</block>

<surveypage selectpreference>
/ questions = [1=aorb]
/ ontrialend = [values.experimentswitch=dropdown.aorb.response]
/ finishlabel = ("volgende")
</surveypage>

<dropdown aorb>
/ caption = "Kies nu één van de taken. Let op je maakt elke taak maar één keer."
/ options = ("Rekentaak", "Sorteertaak", "Woordentaak")
/ optionvalues = ("1", "2", "3")
/ txcolor = black
/ required=true
/ finishlabel = ("volgende")
</dropdown>

<expt aversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==2]
/ skip = [values.experimentswitch==3]
/ preinstructions = (pg1, pg2, pg3a)
/ blocks = [1 = testA]
/ postinstructions = (enda)
/ branch = [expt.aaselect]
</expt>

<text amessage>
/ items = ("Dit is de rekentaak. Druk op een toets om door te gaan.")
</text>

<expt bversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==3]
/ onexptbegin = [if (!values.showdeckinfo) text.deck.textcolor = white]
/ blocks = [1 = testB]
/ preinstructions = (welcome, page1)
/ postinstructions = (endb)
/onexptend = [values.completed = 1]
/ branch = [expt.aaselect]
</expt>

<text bmessage>
/ items = ("Dit is de sorteertaak. Druk op een toets om door te gaan.")
</text>

<expt cversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==2]
/ subjects = (1 of 1)
/ onexptbegin = [
values.practiceDifficulty = 1;
values.testDifficulty = 1;]
/ preinstructions = (intro)
/ preinstructions = (testIntro)
/ postinstructions = (testFeedback_easy)
/ onexptend = [values.completed = 1;]
/ blocks = [1 = testC]
/ branch = [expt.aaselect]
</expt>

<text cmessage>
/ items = ("Dit is de woordentaak. Druk op een toets om door te gaan.")
</text>

Dave
Dave
Supreme Being
Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)Supreme Being (530K reputation)

Group: Administrators
Posts: 9.2K, Visits: 40K
Johanne - Monday, February 20, 2017
Hello, 

I have a question considering a script that I'm writing with Inquisit 3. 
There are three different tasks and the participants can choose in which order they make these tasks. 
This is now possible with a surveypage.
However, when one task is completed this task should not be an option anymore in the dropdown menu. 
Is there a simple way to realize such a proceeding?
See part of the script below. 

Thanks in advance!
Johanne

<expt aaselect>
/ subjects = (1 of 1)
/ blocks = [1=preference]
/ finishlabel = ("volgende")
/ branch = [if(values.experimentswitch==1)expt.aversion]
/ branch = [if(values.experimentswitch==2)expt.bversion]
/ branch = [if(values.experimentswitch==3)expt.cversion]
</expt>

<block preference>
/ trials = [1=selectpreference]
</block>

<surveypage selectpreference>
/ questions = [1=aorb]
/ ontrialend = [values.experimentswitch=dropdown.aorb.response]
/ finishlabel = ("volgende")
</surveypage>

<dropdown aorb>
/ caption = "Kies nu één van de taken. Let op je maakt elke taak maar één keer."
/ options = ("Rekentaak", "Sorteertaak", "Woordentaak")
/ optionvalues = ("1", "2", "3")
/ txcolor = black
/ required=true
/ finishlabel = ("volgende")
</dropdown>

<expt aversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==2]
/ skip = [values.experimentswitch==3]
/ preinstructions = (pg1, pg2, pg3a)
/ blocks = [1 = testA]
/ postinstructions = (enda)
/ branch = [expt.aaselect]
</expt>

<text amessage>
/ items = ("Dit is de rekentaak. Druk op een toets om door te gaan.")
</text>

<expt bversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==3]
/ onexptbegin = [if (!values.showdeckinfo) text.deck.textcolor = white]
/ blocks = [1 = testB]
/ preinstructions = (welcome, page1)
/ postinstructions = (endb)
/onexptend = [values.completed = 1]
/ branch = [expt.aaselect]
</expt>

<text bmessage>
/ items = ("Dit is de sorteertaak. Druk op een toets om door te gaan.")
</text>

<expt cversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==2]
/ subjects = (1 of 1)
/ onexptbegin = [
values.practiceDifficulty = 1;
values.testDifficulty = 1;]
/ preinstructions = (intro)
/ preinstructions = (testIntro)
/ postinstructions = (testFeedback_easy)
/ onexptend = [values.completed = 1;]
/ blocks = [1 = testC]
/ branch = [expt.aaselect]
</expt>

<text cmessage>
/ items = ("Dit is de woordentaak. Druk op een toets om door te gaan.")
</text>

> However, when one task is completed this task should not be an option anymore in the dropdown menu. 
> Is there a simple way to realize such a proceeding?

No, this isn't possible.

Johanne
Johanne
Respected Member
Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)Respected Member (458 reputation)

Group: Forum Members
Posts: 5, Visits: 46
Dave - Monday, February 20, 2017
Johanne - Monday, February 20, 2017
Hello, 

I have a question considering a script that I'm writing with Inquisit 3. 
There are three different tasks and the participants can choose in which order they make these tasks. 
This is now possible with a surveypage.
However, when one task is completed this task should not be an option anymore in the dropdown menu. 
Is there a simple way to realize such a proceeding?
See part of the script below. 

Thanks in advance!
Johanne

<expt aaselect>
/ subjects = (1 of 1)
/ blocks = [1=preference]
/ finishlabel = ("volgende")
/ branch = [if(values.experimentswitch==1)expt.aversion]
/ branch = [if(values.experimentswitch==2)expt.bversion]
/ branch = [if(values.experimentswitch==3)expt.cversion]
</expt>

<block preference>
/ trials = [1=selectpreference]
</block>

<surveypage selectpreference>
/ questions = [1=aorb]
/ ontrialend = [values.experimentswitch=dropdown.aorb.response]
/ finishlabel = ("volgende")
</surveypage>

<dropdown aorb>
/ caption = "Kies nu één van de taken. Let op je maakt elke taak maar één keer."
/ options = ("Rekentaak", "Sorteertaak", "Woordentaak")
/ optionvalues = ("1", "2", "3")
/ txcolor = black
/ required=true
/ finishlabel = ("volgende")
</dropdown>

<expt aversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==2]
/ skip = [values.experimentswitch==3]
/ preinstructions = (pg1, pg2, pg3a)
/ blocks = [1 = testA]
/ postinstructions = (enda)
/ branch = [expt.aaselect]
</expt>

<text amessage>
/ items = ("Dit is de rekentaak. Druk op een toets om door te gaan.")
</text>

<expt bversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==3]
/ onexptbegin = [if (!values.showdeckinfo) text.deck.textcolor = white]
/ blocks = [1 = testB]
/ preinstructions = (welcome, page1)
/ postinstructions = (endb)
/onexptend = [values.completed = 1]
/ branch = [expt.aaselect]
</expt>

<text bmessage>
/ items = ("Dit is de sorteertaak. Druk op een toets om door te gaan.")
</text>

<expt cversion>
/ subjects = (1 of 1)
/ skip = [values.experimentswitch==1]
/ skip = [values.experimentswitch==2]
/ subjects = (1 of 1)
/ onexptbegin = [
values.practiceDifficulty = 1;
values.testDifficulty = 1;]
/ preinstructions = (intro)
/ preinstructions = (testIntro)
/ postinstructions = (testFeedback_easy)
/ onexptend = [values.completed = 1;]
/ blocks = [1 = testC]
/ branch = [expt.aaselect]
</expt>

<text cmessage>
/ items = ("Dit is de woordentaak. Druk op een toets om door te gaan.")
</text>

> However, when one task is completed this task should not be an option anymore in the dropdown menu. 
> Is there a simple way to realize such a proceeding?

No, this isn't possible.

ok thank you for the quick reply
GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search