Combining questionnaire with experiment


Combining questionnaire with experiment

Author
Message
chrischma
chrischma
Associate Member
Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)

Group: Forum Members
Posts: 5, Visits: 14
Hey dear gentlemen,

following problem to solve:
I want to combine two Inquisit datas one experiment and one questionnaire. The participants should fill out the questionnaire and afterwards do the experiment.
Its important that each participant is seen in data with both results questionnaire and experiment together. Do you know how to do it properly?









This is the questionnaire:

**************************************************************************************************************************
Seite 1 Fragebogen
**************************************************************************************************************************
<radiobuttons sex>
/ caption = "~nGeschlecht"
/ options = ("weiblich", "männlich", "divers")
/ orientation=horizontal
</radiobuttons>

<textbox age>
/ caption = "~nAlter in Jahren"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox height>
/ caption = "~nKörpergröße in cm"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox weight>
/ caption = "~nKörpergewicht in kg"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

**************************************************************************************************************************
Seite 2 Fragebogen
**************************************************************************************************************************

<textbox frecuency_moderate_activity>
/ caption = "Wie häufig hast du in den letzten 7 Tagen eine moderate Aktivität ausgeführt?(0-7 mal pro Woche)"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_moderate_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_moderate_activity_1>
/ caption = "Was sind deine beiden häufigsten moderaten Aktivitäten der letzten 7 Tage?"
/ textboxsize = (20,3)
/ validresponse = (anyresponse)
</textbox>

<textbox examples_moderate_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

*****************************************************************************************

<textbox frecuency_vigorous_activity>
/ caption = "~nAnstrengende Aktivitäten sind starke körperliche Anstrengungen, bei denen du deutlich schneller als normal atmest und schwitzt, zum Beispiel beim Joggen, Fußballspielen oder beim Aerobic. ~n"
/ fontstyle = ("Verdana", -15, , true, false, false)
/ subcaption = "Wie häufig hast du in den letzten 7 Tagen eine anstrengende Aktivität ausgeführt?(0-7 mal pro Woche)"
/ subcaptionfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_vigorous_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_vigorous_activity_1>
/ caption = "Was sind deine beiden häufigsten anstrengenden Aktivitäten der letzten 7 Tage?"
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

<textbox examples_vigorous_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

**************************************************************************************************************************
Seite 3 Fragebogen
**************************************************************************************************************************
<slider cognitive1>
/ labels = ("~n nicht gesund ~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst gesund~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive2>
/ labels = ("nicht vernünftig~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst vernünftig~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive3>
/ labels = (" nicht nützlich ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst nützlich~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive4>
/ labels = (" nicht lohnend  ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst lohnend~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

**************************************************************************************************************************
Seite 4 Fragebogen
**************************************************************************************************************************
<slider affective1>
/ labels = ("~nnicht entspannt~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst entspannt~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective2>
/ labels = ("nicht zufrieden~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst zufrieden~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective3>
/ labels = (" nicht froh   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst froh~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective4>
/ labels = (" nicht wohl   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst wohl~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>
**************************************************************************************************************************
Seite 5 Fragebogen
**************************************************************************************************************************

<radiobuttons concentration>

/ options = ("sehr konzentriert", "eher konzentriert", "nicht sehr konzentriert")
/ orientation = horizontalequal
</radiobuttons>

**************************************************************************************************************************
Zuteilung Inhalte Seiten
**************************************************************************************************************************
<surveypage demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</survey>

************************************************************************************************************************
Extra * Fortschrittsbalken
************************************************************************************************************************
<shape progressbar_x>
/ shape = rectangle
/ color = (black)
/ position = (10%,45%)
/ halign = left
/ valign = top
/ size = (80%, 0.1%)
</shape>



<values>
/ npages = 5
/ currentpage = 0
</values>

<shape progressbar>
/ shape = rectangle
/ color = (green)
/ position = (10%,97%)
/ halign = left
/ valign = top
/ size = (75%, 2%)
</shape>

<shape progressbar_full1>
/ shape = rectangle
/ color = gray
/ position = (10%,97%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>

<shape progressbar_full2>
/ shape = rectangle
/ color = gray
/ position = (10%,99%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>














This is the experiment after the survey:


<picture Freiabendsallein>
/ items = Freiabendsalleinitems
/ hposition = values.Freiabendsallein_x
</picture>

<picture Freiabendsgesellig>
/ items = Freiabendsgeselligitems
/ hposition = values.Freiabendsgesellig_x
</picture>

<picture Freitagallein>
/ items = Freitagalleinitems
/ hposition = values.Freitagallein_x
</picture>

<picture Freitaggesellig>
/ items = Freitaggeselligitems
/ hposition = values.Freitaggesellig_x
</picture>

<picture Sporttagallein>
/ items = Sporttagalleinitems
/ hposition = values.Sporttagallein_x
</picture>

<picture Sporttaggesellig>
/ items = Sporttaggeselligitems
/ hposition = values.Sporttaggesellig_x
</picture>

<list hpos>
/ items = (30%, 70%)
/ selectionrate = always
/ selectionmode = random
</list>

<values>
/ Freiabendsallein_x = 0%
/ Freiabendsgesellig_x = 0%
/ Freitagallein_x = 0%
/ Freitaggesellig_x = 0%
/ Sporttagallein_x = 0%
/ Sporttaggesellig_x = 0%
/ selection = ""
</values>

<item Freiabendsalleinitems>
/1 = "Freiabendsallein_01.jpg"
/2 = "Freiabendsallein_02.jpg"
/3 = "Freiabendsallein_03.jpg"
/4 = "Freiabendsallein_04.jpg"
</item>

<item Freiabendsgeselligitems>
/1 = "Freiabendsgesellig_01.jpg"
/2 = "Freiabendsgesellig_02.jpg"
/3 = "Freiabendsgesellig_03.jpg"
/4 = "Freiabendsgesellig_04.jpg"
</item>

<item Freitagalleinitems>
/1 = "Freitagallein_01.jpg"
/2 = "Freitagallein_02.jpg"
/3 = "Freitagallein_03.jpg"
/4 = "Freitagallein_04.jpg"
</item>

<item Freitaggeselligitems>
/1 = "Freitaggesellig_01.jpg"
/2 = "Freitaggesellig_02.jpg"
/3 = "Freitaggesellig_03.jpg"
/4 = "Freitaggesellig_04.jpg"
</item>

<item Sporttagalleinitems>
/1 = "Sporttagallein_01.jpg"
/2 = "Sporttagallein_02.jpg"
/3 = "Sporttagallein_03.jpg"
/4 = "Sporttagallein_04.jpg"
</item>

<item Sporttaggeselligitems>
/1 = "Sporttaggesellig_01.jpg"
/2 = "Sporttaggesellig_02.jpg"
/3 = "Sporttaggesellig_03.jpg"
/4 = "Sporttaggesellig_04.jpg"
</item>



<text focuspoint>
/ items = ("    +    ")
/ fontstyle = ("Arial", 4.17%, false, false, false, false, 5, 1)
</text>

<shape erasefocuspoint>
/ shape = rectangle
/ color = white
/ size = (30%,30%)
/ erase = false
</shape>



<shape eraseFreiabendsallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreiabendsgesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>



<trial Taggesellig>
/ ontrialbegin = [
values.Sporttaggesellig_x = list.hpos.nextvalue;
values.Freitaggesellig_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Sporttaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Sporttaggesellig"
} else if ((values.Freitaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Freitaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Freitaggesellig"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttaggesellig, Freitaggesellig; 4500=eraseSporttaggesellig, eraseFreitaggesellig]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial Tagallein>
/ ontrialbegin = [
values.Sporttagallein_x = list.hpos.nextvalue;
values.Freitagallein_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttagallein_x == 30% && trial.Tagallein.response == 44) || (values.Sporttagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Sporttagallein"
} else if ((values.Freitagallein_x == 30% && trial.Tagallein.response == 44) || (values.Freitagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Freitagallein"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttagallein, Freitagallein; 4500=eraseSporttagallein, eraseFreitagallein]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blondearab>
/ ontrialbegin = [
values.blonde_x = list.hpos.nextvalue;
values.arab_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.blonde_x == 30% && trial.blondearab.response == 44) || (values.blonde_x == 70% && trial.blondearab.response == 50)) {
values.selection = "blonde"
} else if ((values.arab_x == 30% && trial.blondearab.response == 44) || (values.arab_x == 70% && trial.blondearab.response == 50)) {
values.selection = "arab"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=blonde, arab; 4500=eraseblonde, erasearab]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blackred>
/ ontrialbegin = [
values.black_x = list.hpos.nextvalue;
values.red_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.black_x == 30% && trial.blackred.response == 44) || (values.black_x == 70% && trial.blackred.response == 50)) {
values.selection = "black"
} else if ((values.red_x == 30% && trial.blackred.response == 44) || (values.red_x == 70% && trial.blackred.response == 50)) {
values.selection = "red"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=black, red; 4500=eraseblack, erasered]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>



<page intro>
^^^Sport oder kein Sport?
^^Danke dass du an dieser Studie teilnimmst.
^^Bitte schalte dein Mobiltelefon aus und stelle sicher, dass du dich in einer ruhigen Atmosphäre befindest.
</page>


<page task>
^^Einleitung:
Du wirst in jedem Durchgang immer zwei Bilder von unterschiedlichen AKtivitäten sehen.
Deine Aufgabe besteht darin dich ganz natürlich und intuitiv für eine der beiden Alternativen per Knopfdruck zu entscheiden.
^^Dabei steht "y" für die Aktivität "links" und "m" für die Aktivität "rechts".
</page>

<page preinstruction>
^^^Probedurchgänge
Um das zu üben wirst du nun einen Testdurchlauf machen.
</page>

<page begin>
^^Die Probedurchgänge sind nun beendet. Drücke erneut die Leertaste um zum Hauptteil zu gelangen.
</page>


<page end>
Das Expreiment ist nun beendet.
^^Danke für deine Teilnahme.
</page>


<instruct>
/ nextkey = (" ")
/ lastlabel = ("Drücke die Leertaste um fortzufahren")
/ nextlabel = ("Drücke die Leertaste um fortzufahren")
/ fontstyle = ("Arial", 16pt)
</instruct>

<block practice>
/ trials = [1-10 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<block selection>
/ preinstructions = (begin)
/ trials = [1-125 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=practice; 2=selection]
</expt>


<defaults>
/ fontstyle = ("Courier New", 16pt)
/ posttrialpause = 500
</defaults>


<data>
/ columns = (date time subject group blocknum blockcode trialnum trialcode stimulusitem stimulusitem stimulusitem stimulusitem
response latency correct values.selection)
/ separatefiles = true
</data>





Thank you very much. I´m vey glad for this chat.

Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K
chrischma - 8/2/2019
Hey dear gentlemen,

following problem to solve:
I want to combine two Inquisit datas one experiment and one questionnaire. The participants should fill out the questionnaire and afterwards do the experiment.
Its important that each participant is seen in data with both results questionnaire and experiment together. Do you know how to do it properly?









This is the questionnaire:

**************************************************************************************************************************
Seite 1 Fragebogen
**************************************************************************************************************************
<radiobuttons sex>
/ caption = "~nGeschlecht"
/ options = ("weiblich", "männlich", "divers")
/ orientation=horizontal
</radiobuttons>

<textbox age>
/ caption = "~nAlter in Jahren"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox height>
/ caption = "~nKörpergröße in cm"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox weight>
/ caption = "~nKörpergewicht in kg"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

**************************************************************************************************************************
Seite 2 Fragebogen
**************************************************************************************************************************

<textbox frecuency_moderate_activity>
/ caption = "Wie häufig hast du in den letzten 7 Tagen eine moderate Aktivität ausgeführt?(0-7 mal pro Woche)"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_moderate_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_moderate_activity_1>
/ caption = "Was sind deine beiden häufigsten moderaten Aktivitäten der letzten 7 Tage?"
/ textboxsize = (20,3)
/ validresponse = (anyresponse)
</textbox>

<textbox examples_moderate_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

*****************************************************************************************

<textbox frecuency_vigorous_activity>
/ caption = "~nAnstrengende Aktivitäten sind starke körperliche Anstrengungen, bei denen du deutlich schneller als normal atmest und schwitzt, zum Beispiel beim Joggen, Fußballspielen oder beim Aerobic. ~n"
/ fontstyle = ("Verdana", -15, , true, false, false)
/ subcaption = "Wie häufig hast du in den letzten 7 Tagen eine anstrengende Aktivität ausgeführt?(0-7 mal pro Woche)"
/ subcaptionfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_vigorous_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_vigorous_activity_1>
/ caption = "Was sind deine beiden häufigsten anstrengenden Aktivitäten der letzten 7 Tage?"
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

<textbox examples_vigorous_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

**************************************************************************************************************************
Seite 3 Fragebogen
**************************************************************************************************************************
<slider cognitive1>
/ labels = ("~n nicht gesund ~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst gesund~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive2>
/ labels = ("nicht vernünftig~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst vernünftig~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive3>
/ labels = (" nicht nützlich ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst nützlich~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive4>
/ labels = (" nicht lohnend  ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst lohnend~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

**************************************************************************************************************************
Seite 4 Fragebogen
**************************************************************************************************************************
<slider affective1>
/ labels = ("~nnicht entspannt~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst entspannt~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective2>
/ labels = ("nicht zufrieden~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst zufrieden~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective3>
/ labels = (" nicht froh   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst froh~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective4>
/ labels = (" nicht wohl   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst wohl~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>
**************************************************************************************************************************
Seite 5 Fragebogen
**************************************************************************************************************************

<radiobuttons concentration>

/ options = ("sehr konzentriert", "eher konzentriert", "nicht sehr konzentriert")
/ orientation = horizontalequal
</radiobuttons>

**************************************************************************************************************************
Zuteilung Inhalte Seiten
**************************************************************************************************************************
<surveypage demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</survey>

************************************************************************************************************************
Extra * Fortschrittsbalken
************************************************************************************************************************
<shape progressbar_x>
/ shape = rectangle
/ color = (black)
/ position = (10%,45%)
/ halign = left
/ valign = top
/ size = (80%, 0.1%)
</shape>



<values>
/ npages = 5
/ currentpage = 0
</values>

<shape progressbar>
/ shape = rectangle
/ color = (green)
/ position = (10%,97%)
/ halign = left
/ valign = top
/ size = (75%, 2%)
</shape>

<shape progressbar_full1>
/ shape = rectangle
/ color = gray
/ position = (10%,97%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>

<shape progressbar_full2>
/ shape = rectangle
/ color = gray
/ position = (10%,99%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>














This is the experiment after the survey:


<picture Freiabendsallein>
/ items = Freiabendsalleinitems
/ hposition = values.Freiabendsallein_x
</picture>

<picture Freiabendsgesellig>
/ items = Freiabendsgeselligitems
/ hposition = values.Freiabendsgesellig_x
</picture>

<picture Freitagallein>
/ items = Freitagalleinitems
/ hposition = values.Freitagallein_x
</picture>

<picture Freitaggesellig>
/ items = Freitaggeselligitems
/ hposition = values.Freitaggesellig_x
</picture>

<picture Sporttagallein>
/ items = Sporttagalleinitems
/ hposition = values.Sporttagallein_x
</picture>

<picture Sporttaggesellig>
/ items = Sporttaggeselligitems
/ hposition = values.Sporttaggesellig_x
</picture>

<list hpos>
/ items = (30%, 70%)
/ selectionrate = always
/ selectionmode = random
</list>

<values>
/ Freiabendsallein_x = 0%
/ Freiabendsgesellig_x = 0%
/ Freitagallein_x = 0%
/ Freitaggesellig_x = 0%
/ Sporttagallein_x = 0%
/ Sporttaggesellig_x = 0%
/ selection = ""
</values>

<item Freiabendsalleinitems>
/1 = "Freiabendsallein_01.jpg"
/2 = "Freiabendsallein_02.jpg"
/3 = "Freiabendsallein_03.jpg"
/4 = "Freiabendsallein_04.jpg"
</item>

<item Freiabendsgeselligitems>
/1 = "Freiabendsgesellig_01.jpg"
/2 = "Freiabendsgesellig_02.jpg"
/3 = "Freiabendsgesellig_03.jpg"
/4 = "Freiabendsgesellig_04.jpg"
</item>

<item Freitagalleinitems>
/1 = "Freitagallein_01.jpg"
/2 = "Freitagallein_02.jpg"
/3 = "Freitagallein_03.jpg"
/4 = "Freitagallein_04.jpg"
</item>

<item Freitaggeselligitems>
/1 = "Freitaggesellig_01.jpg"
/2 = "Freitaggesellig_02.jpg"
/3 = "Freitaggesellig_03.jpg"
/4 = "Freitaggesellig_04.jpg"
</item>

<item Sporttagalleinitems>
/1 = "Sporttagallein_01.jpg"
/2 = "Sporttagallein_02.jpg"
/3 = "Sporttagallein_03.jpg"
/4 = "Sporttagallein_04.jpg"
</item>

<item Sporttaggeselligitems>
/1 = "Sporttaggesellig_01.jpg"
/2 = "Sporttaggesellig_02.jpg"
/3 = "Sporttaggesellig_03.jpg"
/4 = "Sporttaggesellig_04.jpg"
</item>



<text focuspoint>
/ items = ("    +    ")
/ fontstyle = ("Arial", 4.17%, false, false, false, false, 5, 1)
</text>

<shape erasefocuspoint>
/ shape = rectangle
/ color = white
/ size = (30%,30%)
/ erase = false
</shape>



<shape eraseFreiabendsallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreiabendsgesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>



<trial Taggesellig>
/ ontrialbegin = [
values.Sporttaggesellig_x = list.hpos.nextvalue;
values.Freitaggesellig_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Sporttaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Sporttaggesellig"
} else if ((values.Freitaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Freitaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Freitaggesellig"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttaggesellig, Freitaggesellig; 4500=eraseSporttaggesellig, eraseFreitaggesellig]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial Tagallein>
/ ontrialbegin = [
values.Sporttagallein_x = list.hpos.nextvalue;
values.Freitagallein_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttagallein_x == 30% && trial.Tagallein.response == 44) || (values.Sporttagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Sporttagallein"
} else if ((values.Freitagallein_x == 30% && trial.Tagallein.response == 44) || (values.Freitagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Freitagallein"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttagallein, Freitagallein; 4500=eraseSporttagallein, eraseFreitagallein]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blondearab>
/ ontrialbegin = [
values.blonde_x = list.hpos.nextvalue;
values.arab_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.blonde_x == 30% && trial.blondearab.response == 44) || (values.blonde_x == 70% && trial.blondearab.response == 50)) {
values.selection = "blonde"
} else if ((values.arab_x == 30% && trial.blondearab.response == 44) || (values.arab_x == 70% && trial.blondearab.response == 50)) {
values.selection = "arab"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=blonde, arab; 4500=eraseblonde, erasearab]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blackred>
/ ontrialbegin = [
values.black_x = list.hpos.nextvalue;
values.red_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.black_x == 30% && trial.blackred.response == 44) || (values.black_x == 70% && trial.blackred.response == 50)) {
values.selection = "black"
} else if ((values.red_x == 30% && trial.blackred.response == 44) || (values.red_x == 70% && trial.blackred.response == 50)) {
values.selection = "red"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=black, red; 4500=eraseblack, erasered]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>



<page intro>
^^^Sport oder kein Sport?
^^Danke dass du an dieser Studie teilnimmst.
^^Bitte schalte dein Mobiltelefon aus und stelle sicher, dass du dich in einer ruhigen Atmosphäre befindest.
</page>


<page task>
^^Einleitung:
Du wirst in jedem Durchgang immer zwei Bilder von unterschiedlichen AKtivitäten sehen.
Deine Aufgabe besteht darin dich ganz natürlich und intuitiv für eine der beiden Alternativen per Knopfdruck zu entscheiden.
^^Dabei steht "y" für die Aktivität "links" und "m" für die Aktivität "rechts".
</page>

<page preinstruction>
^^^Probedurchgänge
Um das zu üben wirst du nun einen Testdurchlauf machen.
</page>

<page begin>
^^Die Probedurchgänge sind nun beendet. Drücke erneut die Leertaste um zum Hauptteil zu gelangen.
</page>


<page end>
Das Expreiment ist nun beendet.
^^Danke für deine Teilnahme.
</page>


<instruct>
/ nextkey = (" ")
/ lastlabel = ("Drücke die Leertaste um fortzufahren")
/ nextlabel = ("Drücke die Leertaste um fortzufahren")
/ fontstyle = ("Arial", 16pt)
</instruct>

<block practice>
/ trials = [1-10 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<block selection>
/ preinstructions = (begin)
/ trials = [1-125 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=practice; 2=selection]
</expt>


<defaults>
/ fontstyle = ("Courier New", 16pt)
/ posttrialpause = 500
</defaults>


<data>
/ columns = (date time subject group blocknum blockcode trialnum trialcode stimulusitem stimulusitem stimulusitem stimulusitem
response latency correct values.selection)
/ separatefiles = true
</data>





Thank you very much. I´m vey glad for this chat.

If you want everything captured in a single data file, you need to run your <surveypage>s via a <block> element's /trials. You cannot use <survey>, which will create a separate, differently formatted data file.

(<surveypage> elements are special kind of <trial> elements. Similarly, <survey> elements are special kind of <block> elements.)

Then run your survey <block> at the desired point in time  via your <expt> element's /blocks attribute.

chrischma
chrischma
Associate Member
Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)Associate Member (54 reputation)

Group: Forum Members
Posts: 5, Visits: 14
Dave - 8/2/2019
chrischma - 8/2/2019
Hey dear gentlemen,

following problem to solve:
I want to combine two Inquisit datas one experiment and one questionnaire. The participants should fill out the questionnaire and afterwards do the experiment.
Its important that each participant is seen in data with both results questionnaire and experiment together. Do you know how to do it properly?









This is the questionnaire:

**************************************************************************************************************************
Seite 1 Fragebogen
**************************************************************************************************************************
<radiobuttons sex>
/ caption = "~nGeschlecht"
/ options = ("weiblich", "männlich", "divers")
/ orientation=horizontal
</radiobuttons>

<textbox age>
/ caption = "~nAlter in Jahren"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox height>
/ caption = "~nKörpergröße in cm"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox weight>
/ caption = "~nKörpergewicht in kg"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

**************************************************************************************************************************
Seite 2 Fragebogen
**************************************************************************************************************************

<textbox frecuency_moderate_activity>
/ caption = "Wie häufig hast du in den letzten 7 Tagen eine moderate Aktivität ausgeführt?(0-7 mal pro Woche)"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_moderate_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_moderate_activity_1>
/ caption = "Was sind deine beiden häufigsten moderaten Aktivitäten der letzten 7 Tage?"
/ textboxsize = (20,3)
/ validresponse = (anyresponse)
</textbox>

<textbox examples_moderate_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

*****************************************************************************************

<textbox frecuency_vigorous_activity>
/ caption = "~nAnstrengende Aktivitäten sind starke körperliche Anstrengungen, bei denen du deutlich schneller als normal atmest und schwitzt, zum Beispiel beim Joggen, Fußballspielen oder beim Aerobic. ~n"
/ fontstyle = ("Verdana", -15, , true, false, false)
/ subcaption = "Wie häufig hast du in den letzten 7 Tagen eine anstrengende Aktivität ausgeführt?(0-7 mal pro Woche)"
/ subcaptionfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_vigorous_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_vigorous_activity_1>
/ caption = "Was sind deine beiden häufigsten anstrengenden Aktivitäten der letzten 7 Tage?"
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

<textbox examples_vigorous_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

**************************************************************************************************************************
Seite 3 Fragebogen
**************************************************************************************************************************
<slider cognitive1>
/ labels = ("~n nicht gesund ~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst gesund~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive2>
/ labels = ("nicht vernünftig~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst vernünftig~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive3>
/ labels = (" nicht nützlich ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst nützlich~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive4>
/ labels = (" nicht lohnend  ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst lohnend~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

**************************************************************************************************************************
Seite 4 Fragebogen
**************************************************************************************************************************
<slider affective1>
/ labels = ("~nnicht entspannt~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst entspannt~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective2>
/ labels = ("nicht zufrieden~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst zufrieden~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective3>
/ labels = (" nicht froh   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst froh~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective4>
/ labels = (" nicht wohl   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst wohl~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>
**************************************************************************************************************************
Seite 5 Fragebogen
**************************************************************************************************************************

<radiobuttons concentration>

/ options = ("sehr konzentriert", "eher konzentriert", "nicht sehr konzentriert")
/ orientation = horizontalequal
</radiobuttons>

**************************************************************************************************************************
Zuteilung Inhalte Seiten
**************************************************************************************************************************
<surveypage demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</survey>

************************************************************************************************************************
Extra * Fortschrittsbalken
************************************************************************************************************************
<shape progressbar_x>
/ shape = rectangle
/ color = (black)
/ position = (10%,45%)
/ halign = left
/ valign = top
/ size = (80%, 0.1%)
</shape>



<values>
/ npages = 5
/ currentpage = 0
</values>

<shape progressbar>
/ shape = rectangle
/ color = (green)
/ position = (10%,97%)
/ halign = left
/ valign = top
/ size = (75%, 2%)
</shape>

<shape progressbar_full1>
/ shape = rectangle
/ color = gray
/ position = (10%,97%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>

<shape progressbar_full2>
/ shape = rectangle
/ color = gray
/ position = (10%,99%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>














This is the experiment after the survey:


<picture Freiabendsallein>
/ items = Freiabendsalleinitems
/ hposition = values.Freiabendsallein_x
</picture>

<picture Freiabendsgesellig>
/ items = Freiabendsgeselligitems
/ hposition = values.Freiabendsgesellig_x
</picture>

<picture Freitagallein>
/ items = Freitagalleinitems
/ hposition = values.Freitagallein_x
</picture>

<picture Freitaggesellig>
/ items = Freitaggeselligitems
/ hposition = values.Freitaggesellig_x
</picture>

<picture Sporttagallein>
/ items = Sporttagalleinitems
/ hposition = values.Sporttagallein_x
</picture>

<picture Sporttaggesellig>
/ items = Sporttaggeselligitems
/ hposition = values.Sporttaggesellig_x
</picture>

<list hpos>
/ items = (30%, 70%)
/ selectionrate = always
/ selectionmode = random
</list>

<values>
/ Freiabendsallein_x = 0%
/ Freiabendsgesellig_x = 0%
/ Freitagallein_x = 0%
/ Freitaggesellig_x = 0%
/ Sporttagallein_x = 0%
/ Sporttaggesellig_x = 0%
/ selection = ""
</values>

<item Freiabendsalleinitems>
/1 = "Freiabendsallein_01.jpg"
/2 = "Freiabendsallein_02.jpg"
/3 = "Freiabendsallein_03.jpg"
/4 = "Freiabendsallein_04.jpg"
</item>

<item Freiabendsgeselligitems>
/1 = "Freiabendsgesellig_01.jpg"
/2 = "Freiabendsgesellig_02.jpg"
/3 = "Freiabendsgesellig_03.jpg"
/4 = "Freiabendsgesellig_04.jpg"
</item>

<item Freitagalleinitems>
/1 = "Freitagallein_01.jpg"
/2 = "Freitagallein_02.jpg"
/3 = "Freitagallein_03.jpg"
/4 = "Freitagallein_04.jpg"
</item>

<item Freitaggeselligitems>
/1 = "Freitaggesellig_01.jpg"
/2 = "Freitaggesellig_02.jpg"
/3 = "Freitaggesellig_03.jpg"
/4 = "Freitaggesellig_04.jpg"
</item>

<item Sporttagalleinitems>
/1 = "Sporttagallein_01.jpg"
/2 = "Sporttagallein_02.jpg"
/3 = "Sporttagallein_03.jpg"
/4 = "Sporttagallein_04.jpg"
</item>

<item Sporttaggeselligitems>
/1 = "Sporttaggesellig_01.jpg"
/2 = "Sporttaggesellig_02.jpg"
/3 = "Sporttaggesellig_03.jpg"
/4 = "Sporttaggesellig_04.jpg"
</item>



<text focuspoint>
/ items = ("    +    ")
/ fontstyle = ("Arial", 4.17%, false, false, false, false, 5, 1)
</text>

<shape erasefocuspoint>
/ shape = rectangle
/ color = white
/ size = (30%,30%)
/ erase = false
</shape>



<shape eraseFreiabendsallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreiabendsgesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>



<trial Taggesellig>
/ ontrialbegin = [
values.Sporttaggesellig_x = list.hpos.nextvalue;
values.Freitaggesellig_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Sporttaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Sporttaggesellig"
} else if ((values.Freitaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Freitaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Freitaggesellig"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttaggesellig, Freitaggesellig; 4500=eraseSporttaggesellig, eraseFreitaggesellig]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial Tagallein>
/ ontrialbegin = [
values.Sporttagallein_x = list.hpos.nextvalue;
values.Freitagallein_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttagallein_x == 30% && trial.Tagallein.response == 44) || (values.Sporttagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Sporttagallein"
} else if ((values.Freitagallein_x == 30% && trial.Tagallein.response == 44) || (values.Freitagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Freitagallein"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttagallein, Freitagallein; 4500=eraseSporttagallein, eraseFreitagallein]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blondearab>
/ ontrialbegin = [
values.blonde_x = list.hpos.nextvalue;
values.arab_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.blonde_x == 30% && trial.blondearab.response == 44) || (values.blonde_x == 70% && trial.blondearab.response == 50)) {
values.selection = "blonde"
} else if ((values.arab_x == 30% && trial.blondearab.response == 44) || (values.arab_x == 70% && trial.blondearab.response == 50)) {
values.selection = "arab"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=blonde, arab; 4500=eraseblonde, erasearab]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blackred>
/ ontrialbegin = [
values.black_x = list.hpos.nextvalue;
values.red_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.black_x == 30% && trial.blackred.response == 44) || (values.black_x == 70% && trial.blackred.response == 50)) {
values.selection = "black"
} else if ((values.red_x == 30% && trial.blackred.response == 44) || (values.red_x == 70% && trial.blackred.response == 50)) {
values.selection = "red"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=black, red; 4500=eraseblack, erasered]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>



<page intro>
^^^Sport oder kein Sport?
^^Danke dass du an dieser Studie teilnimmst.
^^Bitte schalte dein Mobiltelefon aus und stelle sicher, dass du dich in einer ruhigen Atmosphäre befindest.
</page>


<page task>
^^Einleitung:
Du wirst in jedem Durchgang immer zwei Bilder von unterschiedlichen AKtivitäten sehen.
Deine Aufgabe besteht darin dich ganz natürlich und intuitiv für eine der beiden Alternativen per Knopfdruck zu entscheiden.
^^Dabei steht "y" für die Aktivität "links" und "m" für die Aktivität "rechts".
</page>

<page preinstruction>
^^^Probedurchgänge
Um das zu üben wirst du nun einen Testdurchlauf machen.
</page>

<page begin>
^^Die Probedurchgänge sind nun beendet. Drücke erneut die Leertaste um zum Hauptteil zu gelangen.
</page>


<page end>
Das Expreiment ist nun beendet.
^^Danke für deine Teilnahme.
</page>


<instruct>
/ nextkey = (" ")
/ lastlabel = ("Drücke die Leertaste um fortzufahren")
/ nextlabel = ("Drücke die Leertaste um fortzufahren")
/ fontstyle = ("Arial", 16pt)
</instruct>

<block practice>
/ trials = [1-10 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<block selection>
/ preinstructions = (begin)
/ trials = [1-125 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=practice; 2=selection]
</expt>


<defaults>
/ fontstyle = ("Courier New", 16pt)
/ posttrialpause = 500
</defaults>


<data>
/ columns = (date time subject group blocknum blockcode trialnum trialcode stimulusitem stimulusitem stimulusitem stimulusitem
response latency correct values.selection)
/ separatefiles = true
</data>





Thank you very much. I´m vey glad for this chat.

If you want everything captured in a single data file, you need to run your <surveypage>s via a <block> element's /trials. You cannot use <survey>, which will create a separate, differently formatted data file.

(<surveypage> elements are special kind of <trial> elements. Similarly, <survey> elements are special kind of <block> elements.)

Then run your survey <block> at the desired point in time  via your <expt> element's /blocks attribute.

Thank you.
Is this the right way to do it?
Because when i change surveypage to trial and survey to block some lines appear green, like not value anymore.

Here you can see the pages I have changed:



<trial demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<trial cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<block survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</block>

<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=survey; 2=practice; 3=selection]
</expt>





I put trial and block into it and adopted it to the expt., but somehow it don´t works. Do you have another idea?

Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K
chrischma - 8/6/2019
Dave - 8/2/2019
chrischma - 8/2/2019
Hey dear gentlemen,

following problem to solve:
I want to combine two Inquisit datas one experiment and one questionnaire. The participants should fill out the questionnaire and afterwards do the experiment.
Its important that each participant is seen in data with both results questionnaire and experiment together. Do you know how to do it properly?









This is the questionnaire:

**************************************************************************************************************************
Seite 1 Fragebogen
**************************************************************************************************************************
<radiobuttons sex>
/ caption = "~nGeschlecht"
/ options = ("weiblich", "männlich", "divers")
/ orientation=horizontal
</radiobuttons>

<textbox age>
/ caption = "~nAlter in Jahren"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox height>
/ caption = "~nKörpergröße in cm"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

<textbox weight>
/ caption = "~nKörpergewicht in kg"
/ mask = positiveinteger
/ range = (0, 500)
</textbox>

**************************************************************************************************************************
Seite 2 Fragebogen
**************************************************************************************************************************

<textbox frecuency_moderate_activity>
/ caption = "Wie häufig hast du in den letzten 7 Tagen eine moderate Aktivität ausgeführt?(0-7 mal pro Woche)"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_moderate_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_moderate_activity_1>
/ caption = "Was sind deine beiden häufigsten moderaten Aktivitäten der letzten 7 Tage?"
/ textboxsize = (20,3)
/ validresponse = (anyresponse)
</textbox>

<textbox examples_moderate_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

*****************************************************************************************

<textbox frecuency_vigorous_activity>
/ caption = "~nAnstrengende Aktivitäten sind starke körperliche Anstrengungen, bei denen du deutlich schneller als normal atmest und schwitzt, zum Beispiel beim Joggen, Fußballspielen oder beim Aerobic. ~n"
/ fontstyle = ("Verdana", -15, , true, false, false)
/ subcaption = "Wie häufig hast du in den letzten 7 Tagen eine anstrengende Aktivität ausgeführt?(0-7 mal pro Woche)"
/ subcaptionfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox duration_vigorous_activity>
/ caption = "Wie viele Minuten dauerte für gewöhnlich eine dieser Einheiten?"
/ mask = positiveinteger
/ range = (0, 500)
/ textboxsize = (4,3)
</textbox>

<textbox examples_vigorous_activity_1>
/ caption = "Was sind deine beiden häufigsten anstrengenden Aktivitäten der letzten 7 Tage?"
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

<textbox examples_vigorous_activity_2>
/ validresponse = (anyresponse)
/ textboxsize = (20,3)
</textbox>

**************************************************************************************************************************
Seite 3 Fragebogen
**************************************************************************************************************************
<slider cognitive1>
/ labels = ("~n nicht gesund ~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst gesund~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive2>
/ labels = ("nicht vernünftig~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst vernünftig~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive3>
/ labels = (" nicht nützlich ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst nützlich~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider cognitive4>
/ labels = (" nicht lohnend  ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst lohnend~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

**************************************************************************************************************************
Seite 4 Fragebogen
**************************************************************************************************************************
<slider affective1>
/ labels = ("~nnicht entspannt~n~n0"," ~n~n~n1"," ~n~n~n2"," ~n~n~n3"," ~n~n~n4"," ~n~n~n5"," ~n~n~n6"," ~n~n~n7","~näußerst entspannt~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective2>
/ labels = ("nicht zufrieden~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst zufrieden~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective3>
/ labels = (" nicht froh   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst froh~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>

<slider affective4>
/ labels = (" nicht wohl   ~n~n0"," ~n~n1"," ~n~n2"," ~n~n3"," ~n~n4"," ~n~n5"," ~n~n6"," ~n~n7","äußerst wohl~n~n8")
/ range = (0, 8)
/ increment = 1
/ slidersize = (70%, 8%)
/ showtooltips = false
</slider>
**************************************************************************************************************************
Seite 5 Fragebogen
**************************************************************************************************************************

<radiobuttons concentration>

/ options = ("sehr konzentriert", "eher konzentriert", "nicht sehr konzentriert")
/ orientation = horizontalequal
</radiobuttons>

**************************************************************************************************************************
Zuteilung Inhalte Seiten
**************************************************************************************************************************
<surveypage demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<surveypage concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</survey>

************************************************************************************************************************
Extra * Fortschrittsbalken
************************************************************************************************************************
<shape progressbar_x>
/ shape = rectangle
/ color = (black)
/ position = (10%,45%)
/ halign = left
/ valign = top
/ size = (80%, 0.1%)
</shape>



<values>
/ npages = 5
/ currentpage = 0
</values>

<shape progressbar>
/ shape = rectangle
/ color = (green)
/ position = (10%,97%)
/ halign = left
/ valign = top
/ size = (75%, 2%)
</shape>

<shape progressbar_full1>
/ shape = rectangle
/ color = gray
/ position = (10%,97%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>

<shape progressbar_full2>
/ shape = rectangle
/ color = gray
/ position = (10%,99%)
/ halign = left
/ valign = center
/ size = (80%, 0,5%)
</shape>














This is the experiment after the survey:


<picture Freiabendsallein>
/ items = Freiabendsalleinitems
/ hposition = values.Freiabendsallein_x
</picture>

<picture Freiabendsgesellig>
/ items = Freiabendsgeselligitems
/ hposition = values.Freiabendsgesellig_x
</picture>

<picture Freitagallein>
/ items = Freitagalleinitems
/ hposition = values.Freitagallein_x
</picture>

<picture Freitaggesellig>
/ items = Freitaggeselligitems
/ hposition = values.Freitaggesellig_x
</picture>

<picture Sporttagallein>
/ items = Sporttagalleinitems
/ hposition = values.Sporttagallein_x
</picture>

<picture Sporttaggesellig>
/ items = Sporttaggeselligitems
/ hposition = values.Sporttaggesellig_x
</picture>

<list hpos>
/ items = (30%, 70%)
/ selectionrate = always
/ selectionmode = random
</list>

<values>
/ Freiabendsallein_x = 0%
/ Freiabendsgesellig_x = 0%
/ Freitagallein_x = 0%
/ Freitaggesellig_x = 0%
/ Sporttagallein_x = 0%
/ Sporttaggesellig_x = 0%
/ selection = ""
</values>

<item Freiabendsalleinitems>
/1 = "Freiabendsallein_01.jpg"
/2 = "Freiabendsallein_02.jpg"
/3 = "Freiabendsallein_03.jpg"
/4 = "Freiabendsallein_04.jpg"
</item>

<item Freiabendsgeselligitems>
/1 = "Freiabendsgesellig_01.jpg"
/2 = "Freiabendsgesellig_02.jpg"
/3 = "Freiabendsgesellig_03.jpg"
/4 = "Freiabendsgesellig_04.jpg"
</item>

<item Freitagalleinitems>
/1 = "Freitagallein_01.jpg"
/2 = "Freitagallein_02.jpg"
/3 = "Freitagallein_03.jpg"
/4 = "Freitagallein_04.jpg"
</item>

<item Freitaggeselligitems>
/1 = "Freitaggesellig_01.jpg"
/2 = "Freitaggesellig_02.jpg"
/3 = "Freitaggesellig_03.jpg"
/4 = "Freitaggesellig_04.jpg"
</item>

<item Sporttagalleinitems>
/1 = "Sporttagallein_01.jpg"
/2 = "Sporttagallein_02.jpg"
/3 = "Sporttagallein_03.jpg"
/4 = "Sporttagallein_04.jpg"
</item>

<item Sporttaggeselligitems>
/1 = "Sporttaggesellig_01.jpg"
/2 = "Sporttaggesellig_02.jpg"
/3 = "Sporttaggesellig_03.jpg"
/4 = "Sporttaggesellig_04.jpg"
</item>



<text focuspoint>
/ items = ("    +    ")
/ fontstyle = ("Arial", 4.17%, false, false, false, false, 5, 1)
</text>

<shape erasefocuspoint>
/ shape = rectangle
/ color = white
/ size = (30%,30%)
/ erase = false
</shape>



<shape eraseFreiabendsallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreiabendsgesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseFreitaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttagallein>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>

<shape eraseSporttaggesellig>
/ shape = rectangle
/ color = white
/ size = (100%,100%)
/ erase = false
</shape>



<trial Taggesellig>
/ ontrialbegin = [
values.Sporttaggesellig_x = list.hpos.nextvalue;
values.Freitaggesellig_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Sporttaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Sporttaggesellig"
} else if ((values.Freitaggesellig_x == 30% && trial.Taggesellig.response == 44) || (values.Freitaggesellig_x == 70% && trial.Taggesellig.response == 50)) {
values.selection = "Freitaggesellig"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttaggesellig, Freitaggesellig; 4500=eraseSporttaggesellig, eraseFreitaggesellig]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial Tagallein>
/ ontrialbegin = [
values.Sporttagallein_x = list.hpos.nextvalue;
values.Freitagallein_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.Sporttagallein_x == 30% && trial.Tagallein.response == 44) || (values.Sporttagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Sporttagallein"
} else if ((values.Freitagallein_x == 30% && trial.Tagallein.response == 44) || (values.Freitagallein_x == 70% && trial.Tagallein.response == 50)) {
values.selection = "Freitagallein"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=Sporttagallein, Freitagallein; 4500=eraseSporttagallein, eraseFreitagallein]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blondearab>
/ ontrialbegin = [
values.blonde_x = list.hpos.nextvalue;
values.arab_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.blonde_x == 30% && trial.blondearab.response == 44) || (values.blonde_x == 70% && trial.blondearab.response == 50)) {
values.selection = "blonde"
} else if ((values.arab_x == 30% && trial.blondearab.response == 44) || (values.arab_x == 70% && trial.blondearab.response == 50)) {
values.selection = "arab"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=blonde, arab; 4500=eraseblonde, erasearab]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>

<trial blackred>
/ ontrialbegin = [
values.black_x = list.hpos.nextvalue;
values.red_x = list.hpos.nextvalue;
values.selection = "";
]
/ ontrialend = [
if ((values.black_x == 30% && trial.blackred.response == 44) || (values.black_x == 70% && trial.blackred.response == 50)) {
values.selection = "black"
} else if ((values.red_x == 30% && trial.blackred.response == 44) || (values.red_x == 70% && trial.blackred.response == 50)) {
values.selection = "red"
};
]
/ stimulustimes = [0=focuspoint; 2000=erasefocuspoint; 2500=black, red; 4500=eraseblack, erasered]
/ validresponse=("y", "m")
/ beginresponsetime = 2500
/ responsemode = free
/ timeout = 4700
</trial>



<page intro>
^^^Sport oder kein Sport?
^^Danke dass du an dieser Studie teilnimmst.
^^Bitte schalte dein Mobiltelefon aus und stelle sicher, dass du dich in einer ruhigen Atmosphäre befindest.
</page>


<page task>
^^Einleitung:
Du wirst in jedem Durchgang immer zwei Bilder von unterschiedlichen AKtivitäten sehen.
Deine Aufgabe besteht darin dich ganz natürlich und intuitiv für eine der beiden Alternativen per Knopfdruck zu entscheiden.
^^Dabei steht "y" für die Aktivität "links" und "m" für die Aktivität "rechts".
</page>

<page preinstruction>
^^^Probedurchgänge
Um das zu üben wirst du nun einen Testdurchlauf machen.
</page>

<page begin>
^^Die Probedurchgänge sind nun beendet. Drücke erneut die Leertaste um zum Hauptteil zu gelangen.
</page>


<page end>
Das Expreiment ist nun beendet.
^^Danke für deine Teilnahme.
</page>


<instruct>
/ nextkey = (" ")
/ lastlabel = ("Drücke die Leertaste um fortzufahren")
/ nextlabel = ("Drücke die Leertaste um fortzufahren")
/ fontstyle = ("Arial", 16pt)
</instruct>

<block practice>
/ trials = [1-10 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<block selection>
/ preinstructions = (begin)
/ trials = [1-125 = noreplacenorepeat (blondeblack, blackred, blondered, blackarab, blondearab, redarab)]
</block>


<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=practice; 2=selection]
</expt>


<defaults>
/ fontstyle = ("Courier New", 16pt)
/ posttrialpause = 500
</defaults>


<data>
/ columns = (date time subject group blocknum blockcode trialnum trialcode stimulusitem stimulusitem stimulusitem stimulusitem
response latency correct values.selection)
/ separatefiles = true
</data>





Thank you very much. I´m vey glad for this chat.

If you want everything captured in a single data file, you need to run your <surveypage>s via a <block> element's /trials. You cannot use <survey>, which will create a separate, differently formatted data file.

(<surveypage> elements are special kind of <trial> elements. Similarly, <survey> elements are special kind of <block> elements.)

Then run your survey <block> at the desired point in time  via your <expt> element's /blocks attribute.

Thank you.
Is this the right way to do it?
Because when i change surveypage to trial and survey to block some lines appear green, like not value anymore.

Here you can see the pages I have changed:



<trial demographics>
/ caption = "Bitte fülle die folgenden Angaben zu deiner Person aus."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=sex; 2=age; 3=height; 4=weight]
/ stimulusframes = [1=progressbar,progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=1]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial activity>
/ caption = "Moderate Aktivitäten sind mäßig körperliche Aktivitäten, bei denen du ein wenig schneller als normal atmest und leicht schwitzt, zum Beispiel bei schnellem Gehen oder beim Fahrradfahren mit mäßiger Geschwindigkeit."
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=frecuency_moderate_activity; 2=duration_moderate_activity; 3=examples_moderate_activity_1; 4=examples_moderate_activity_2; 5=frecuency_vigorous_activity; 6=duration_vigorous_activity; 7=examples_vigorous_activity_1; 8=examples_vigorous_activity_2]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2, progressbar_x]
/ ontrialbegin = [values.currentpage=2]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</surveypage>

<trial cognitive_component_1>
/ caption = "Wenn ich darüber nachdenke, dann halte ich Sporttreiben für …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=cognitive1; 2=cognitive2; 3=cognitive3; 4=cognitive4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=3]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial affective_component_1>
/ caption = "Wenn ich daran denke Sport zu treiben, dann fühle ich mich …~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ subcaption = "Bitte wähle jeweils den für dich zutreffenden Wert auf der Skala aus."
/ subcaptionfontstyle = ("Verdana", -15, false, true, false, false, 5, 0)
/ questions = [1=affective1; 2=affective2; 3=affective3; 4=affective4]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=4]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>

<trial concentration>
/ caption = "~nWie konzentriert hast an diesem Experiment teilgenommen?~n~n"
/ fontstyle = ("Verdana", -15, true, false, false, false, 5, 0)
/ questions = [1=concentration]
/ stimulusframes = [1=progressbar, progressbar_full1, progressbar_full2]
/ ontrialbegin = [values.currentpage=5]
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
</trial>


************************************************************************************************************************
Fragebogen insgesamt
************************************************************************************************************************


<block survey>
/ pages = [1=demographics; 2=activity; 3=cognitive_component_1; 4=affective_component_1; 5=concentration]
/ responsefontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -15, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ showquestionnumbers = false
/ backlabel = "vorherige Seite"
/ nextlabel = "nächste Seite"
/ finishlabel = "Beenden" 
</block>

<expt>
/ preinstructions = (intro, task, preinstruction)
/ postinstructions = (end)
/ blocks = [ 1=survey; 2=practice; 3=selection]
</expt>





I put trial and block into it and adopted it to the expt., but somehow it don´t works. Do you have another idea?

No, that's not the right way to do it. You're not supposed to *change* your <surveypage> elements to <trial> elements. They ought to remain <surveypage>s. You're supposed to *run* those surveypages via a <block> instead of a <survey>. I.e. instead of

<survey mysurvey>
/ pages = [1=pg1; 2=pg2]
/ showpagenumbers = false
/ showquestionnumbers = false
</survey>

<surveypage pg1>
/ questions = [1=q1]
</surveypage>

<surveypage pg2>
/ questions = [1=q2]
</surveypage>

<radiobuttons q1>
/ caption = "q1"
/ options = ("a", "b", "c")
</radiobuttons>

<radiobuttons q2>
/ caption = "q2"
/ options = ("d", "e", "f")
</radiobuttons>

you're supposed to do

<block myblock>
/ trials = [1=pg1; 2=pg2]
</block>

<surveypage pg1>
/ questions = [1=q1]
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<surveypage pg2>
/ questions = [1=q2]
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<radiobuttons q1>
/ caption = "q1"
/ options = ("a", "b", "c")
</radiobuttons>

<radiobuttons q2>
/ caption = "q2"
/ options = ("d", "e", "f")
</radiobuttons>



GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search