Display Randomised Report on Each Survey Page


Display Randomised Report on Each Survey Page

Author
Message
bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


Dave
Dave
Supreme Being
Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)

Group: Administrators
Posts: 9.1K, Visits: 39K
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!
Dave
Dave
Supreme Being
Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)

Group: Administrators
Posts: 9.1K, Visits: 39K
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte
bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte


Hi Dave,

To update - I have managed to display the report on each frame using a /stimulusframes attribute, however I cannot display the SAME report throughout. On each page, it is presenting a unique version of the report. While I definitely do want a unique report for each participant, I need it to be the same throughout the survey.
Is there a way I can do this?

Thank you again! I appreciate your help so much.





Dave
Dave
Supreme Being
Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)

Group: Administrators
Posts: 9.1K, Visits: 39K
bmont - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte


Hi Dave,

To update - I have managed to display the report on each frame using a /stimulusframes attribute, however I cannot display the SAME report throughout. On each page, it is presenting a unique version of the report. While I definitely do want a unique report for each participant, I need it to be the same throughout the survey.
Is there a way I can do this?

Thank you again! I appreciate your help so much.





Okay, now I get what you want to do. Attach (click +Insert -> Add File...) the current revision of your script and I'll show you how.

bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte


Hi Dave,

To update - I have managed to display the report on each frame using a /stimulusframes attribute, however I cannot display the SAME report throughout. On each page, it is presenting a unique version of the report. While I definitely do want a unique report for each participant, I need it to be the same throughout the survey.
Is there a way I can do this?

Thank you again! I appreciate your help so much.





Okay, now I get what you want to do. Attach (click +Insert -> Add File...) the current revision of your script and I'll show you how.

Hi Dave,

Thank you again for your help. I have attached my current script. Please ignore the positioning of sliders/captions as I am still trying to iron that out.

Bronte
Attachments
Dave
Dave
Supreme Being
Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)Supreme Being (489K reputation)

Group: Administrators
Posts: 9.1K, Visits: 39K
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte


Hi Dave,

To update - I have managed to display the report on each frame using a /stimulusframes attribute, however I cannot display the SAME report throughout. On each page, it is presenting a unique version of the report. While I definitely do want a unique report for each participant, I need it to be the same throughout the survey.
Is there a way I can do this?

Thank you again! I appreciate your help so much.





Okay, now I get what you want to do. Attach (click +Insert -> Add File...) the current revision of your script and I'll show you how.

Hi Dave,

Thank you again for your help. I have attached my current script. Please ignore the positioning of sliders/captions as I am still trying to iron that out.

Bronte

Thanks for attaching the revised script. See the modifications in the attached version. They are:
- set the <text> elements' /selectionrate to experiment instead of trial (the default), i.e. only a single item will be sampled for Q1 to Q8 each for the entire experiment, not one per trial.
- use a <caption> element to display the resulting report on the surveypages.

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.28%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (-50%, -25%)
/ selectionrate = experiment

</text>

...

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.28%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (-50%, -46%)
/ selectionrate = experiment

</text>

<caption randomreport>
/ caption = "<%text.Q1.currentitem%>~n<%text.Q2.currentitem%>~n<%text.Q3.currentitem%>~n<%text.Q4.currentitem%>~n<%text.Q5.currentitem%>~n<%text.Q6.currentitem%>~n<%text.Q7.currentitem%>~n<%text.Q8.currentitem%>~n"
/ position = (15%, 25%)
/ fontstyle = ("Arial", 1.28%)
</caption>

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ questions = [1=caption.randomreport]
/ txcolor = black
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (85%, 90%)
</surveypage>

...

<surveypage Q_page_5>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = caption.randomreport, slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (85%, 90%)
/ backbuttonposition = (15%, 90%)
/ recorddata = true
</surveypage>

Randomizing the questions is not possible the way the script is set up -- what you could easily do, however, is randomize the order of the various surveypages:

<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2-6 = noreplace(surveypage.Q_page_1, surveypage.Q_page_2, surveypage.Q_page_3, surveypage.Q_page_4, surveypage.Q_page_5); 7 = surveypage.demographics_1; 8 = surveypage.demographics_2; 9 = surveypage.demographics_3; 10 = surveypage.end_page]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
/ finishlabel = "Finish"
</survey>

Attachments
bmont
bmont
New Member
New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)New Member (36 reputation)

Group: Forum Members
Posts: 13, Visits: 42
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Tuesday, October 9, 2018
Dave - Tuesday, October 9, 2018
bmont - Monday, October 8, 2018
Hi all,

I am currently attempting to teach myself Inquisit, and am trying to program a study where each participant is presented with a unique report of 8 questions. Each question has three levels (1. Strong, 2. Weak, 3. Non applicable), that will be randomly chosen to present a unique report, i.e., one participant could be presented with 3 strong questions, 4 weak, 1 NA, and another participant could be presented with 7 strong questions and 1 NA etc. Originally, I had planned to present just the report in Inquisit, and then the participants would complete the questions in Qualtrics, however I have now chosen for the participant to complete the whole study within Inquisit. I had successfully managed to program the randomised report (which would just appear on the screen - only one page - for three minutes), however since I have added questions and survey pages it is not working.

What I aim to do is to present the random report on the first page, and then present the SAME report on each consecutive page with three slider bar questions beneath the report, totaling roughly 14 questions and five survey pages. The same version of the report must be presented at the top of each page so the participant is able to re-read the report when answering questions. I am currently unable to present the report on the first page and at the top of each page, and am only able to view the slider bars and questions, however, when removing all questions/slider bar syntax and keeping ONLY the syntax for the randomised report, the report is presented. If you are able to, please tell me what I am missing and where I have gone wrong. 

Here is my current syntax (I have changed the captions and questions for simplicity):

*******************************************************************************************************************
*******************************************************************************************************************
PARAMETERS
*******************************************************************************************************************
*******************************************************************************************************************

<parameters>
/completeinstructions = "In the following survey, you will be asked to read an expert report on gait analysis. Here is the definition of gait analysis:
'Gait analysis is a practice that involves comparing persons of interest in crime-related images (such as CCTV and surveillance recordings) with reference images of suspects, where the primary focus is on movement and posture (Edmond & Cunliffe, 2016, p. 219).'
You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions."
/q_instructions = "Please answer the following questions about the expert report that you have just read. Feel free to re-read the report as much as necessary to answer the questions. Please note that the report below is the same report as the one you originally read."
</parameters>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 1%, false, false, false, false, 5, 1)
/ txcolor = black
</instruct>

<page instructions01>
^Blah blah blah
^^"Blah blah blah"
^^You will then be asked to answer some questions about the report. Feel free to re-read the report as much as necessary to answer the questions.
</page>

<page end>
Thank you!
</page>

*******************************************************************************************************************
*******************************************************************************************************************
DATA
*******************************************************************************************************************
*******************************************************************************************************************
<data>
/ encrypt = true("____")
/ file = "Z:\___"
</data>

********************
SUMMARY DATA
********************

<summarydata>
/columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed,
expressions.stimulusnumber, expressions.stimulusonset, expressions.stimulusitem, values.prior, values.field, values.specialty,
values.ability_evidence, values.ability_belief, values.opinion, values.backed_up, values.catch_trial, values.consistency, values.trust_fair, values.trust_correct,
values.credibility, values.value, values.weight, expressions.CVW)
/ separatefiles = false
/ file = "Z:\___"
</summarydata>

*******************************************************************************************************************
*******************************************************************************************************************
VALUES: Automatically Updated
*******************************************************************************************************************
*******************************************************************************************************************
/completed:0 = script was not completed; 1 = script was completed (all conditions run)

<values>
/completed = 0
/ prior = slider.prior.response
/ field = slider.field.response
/ specialty = slider.specialty.response
/ ability_evidence = slider.ability_evidence.response
/ ability_belief = slider.ability_belief.response
/ opinion = slider.opinion.response
/ backed_up = slider.backed_up.response
/ catch_trial = slider.catch_trial.response
/ consistency = slider.consistency.response
/ trust_fair = slider.trust_fair.response
/ trust_correct = slider.trust_correct.response
/ credibility = slider.credibility.response
/ value = slider.value.response
/ weight = slider.weight.response
</values>

*******************************************************************************************************************
*******************************************************************************************************************
EXPRESSIONS
*******************************************************************************************************************
*******************************************************************************************************************
<expressions>
/CVW = slider.credibility.response + slider.value.response + slider.weight.response
</expressions>

*****************************************
STRONG AND WEAK VARIABLES (Ordered 1. Strong 2. Weak 3. Non applicable)
*****************************************
<item ArrayPrior>
/1 = "1. Strong."
/2 = "1. Weak"
/3 = "1. Non applicable."
</item>

<item ArrayField>
/1 = "2. Strong"
/2 = "2. Weak"
/3 = "2. Non applicable."
</item>

<item ArraySpecialty>
/1 = "3. Strong"
/2 = "3. Weak"
/3 = "3. Non applicable."
</item>

<item ArrayAbility>
/1 = "4.Strong"
/2 = "4. Weak"
/3 = "4. Non applicable."
</item>

<item ArrayOpinion>
/1 = "5. Strong"
/2 = "5. Weak"
/3 = "5. Non applicable."
</item>

<item ArrayBackedUp>
/1 = "6. Strong"
/2 = "6. Weak"
/3 = "6. Non applicable."
</item>

<item ArrayConsistent>
/1 = "7. Strong"
/2 = "7. Weak"
/3 = "7. Non applicable."
</item>

<item ArrayTrustworthiness>
/1 = "8. Strong"
/2 = "8. Weak"
/3 = "8. Non applicable."
</item>

*******************************************************************************************************************
*******************************************************************************************************************
STIMULI
*******************************************************************************************************************
*******************************************************************************************************************

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 35%)
</text>

<text Q2>
/ items = ArrayField
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 38%)
</text>

<text Q3>
/ items = ArraySpecialty
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 41%)
</text>

<text Q4>
/ items = ArrayAbility
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 44%)
</text>

<text Q5>
/ items = ArrayOpinion
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 47%)
</text>

<text Q6>
/ items = ArrayBackedUp
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 50%)
</text>

<text Q7>
/ items = ArrayConsistent
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 53%)
</text>

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (50%, 56%)
</text>


*******************************************************************************************************************
*******************************************************************************************************************
LIST
*******************************************************************************************************************
*******************************************************************************************************************

Randomised report of all arrays - selected randomly without replacement.
Selection is random without replacement for 350 trials total.

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>


*******************************************************************************************************************
*******************************************************************************************************************
QUESTIONS
*******************************************************************************************************************
*******************************************************************************************************************
Note: by default all questions are required to be answered. To change
/required = false

<caption c_prior>
/ caption = "training study experience"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider prior>
/position = (60%, 40%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_field>
/ caption = "training?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 55%)
/ txcolor = black
</caption>

<slider field>
/position = (60%, 50%)
/ slidersize = (30%, 2%)
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_specialty>
/ caption = "training high quality?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider specialty>
/position = (60%, 60%)
/ slidersize = (30%, 2%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_evidence>
/ caption = "Has evidence been provided?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 45%)
/ txcolor = black
</caption>

<slider ability_evidence>
/position = (40%, 50%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_ability_belief>
/ caption = "Do you believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (10%, 55%)
/ txcolor = black
</caption>

<slider ability_belief>
/position = (40%, 55%)
/ slidersize = (50%, 3%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_opinion>
/ caption = "Assertation?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/position = (10%, 60%)
/ txcolor = black
</caption>

<slider opinion>
/position = (40%, 60%)
/ slidersize = (50%, 3%)
/ labels = ("Not def", "Def")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_backed_up>
/ caption = "Evidence?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider backed_up>
/ position = (50%, 90%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_catch_trial>
/ caption = "Please move the slider to number 100."
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider catch_trial>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all", "Definitely")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_consistency>
/ caption = "Opinion?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider consistency>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all consistent", "Definitely consistent")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_fair>
/ caption = "Believe?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_fair>
/ position = (40%, 70%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all fair, impartial, and objective", "Definitely fair, impartial, and objective")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_trust_correct>
/ caption = "Correct?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider trust_correct>
/ position = (40%, 80%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all correct", "Definitely correct")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_credibility>
/ caption = "Expert?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider credibility>
/ position = (40%, 60%)
/ slidersize = (3.5%,55%)
/ labels = ("Not at all credible", "Definitely credible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ orientation = horizontal
</slider>

<caption c_value>
/ caption = "Value?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider value>
/ labels = ("Not at all valuable", "Definitely valuable")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ responsefontstyle = ("Arial", 1.5%)
/ slidersize = (50%,55%)
/ position = (40%, 70%)
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
/ required = true
</slider>

<caption c_weight>
/ caption = "Weight?"
/ fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ position = (20%, 60%)
/ txcolor = black
</caption>

<slider weight>
/ position = (40%, 80%)
/ slidersize = (50%,55%)
/ labels = ("None at all", "The most possible")
/ range = (0, 100)
/ txcolor = black
/ fontstyle = ("Arial", 1.5%)
/ responsefontstyle = ("Arial", 1.5%)
/ orientation = horizontal
/ required = true
/ defaultresponse = ("0")
/ showticks = false
/ increment = 5
</slider>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEYPAGES
*******************************************************************************************************************
*******************************************************************************************************************
<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Q_page_1>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.prior, slider.field, slider.specialty, caption.c_prior, caption.c_field, caption.c_specialty]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_2>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.ability_evidence, slider.ability_belief, slider.opinion, caption.c_ability_evidence, caption.c_ability_belief, caption.c_opinion]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_3>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.catch_trial, caption.c_catch_trial]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_4>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.backed_up, slider.consistency, slider.trust_fair, slider.trust_correct, caption.c_backed_up, caption.c_consistency, caption.c_trust_fair, caption.c_trust_correct]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

<surveypage Q_page_5>
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (80%, 85%)
/ recorddata = true
</surveypage>

*******************************************************************************************************************
*******************************************************************************************************************
TRIALS
*******************************************************************************************************************
*******************************************************************************************************************

<trial randomise_arrays>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ validresponse = (noresponse)
/ trialduration = 180000
/ recorddata = true
</trial>


*******************************************************************************************************************
*******************************************************************************************************************
BLOCKS
*******************************************************************************************************************
*******************************************************************************************************************

<block report>
/ trials = [1 = randomise_arrays]
/ recorddata = true
</block>

<block qpage1>
/ trials = [1 = surveypage.Q_page_1]
</block>

<block qpage2>
/ trials = [1 = surveypage.Q_page_2]
</block>

<block qpage3>
/ trials = [1 = surveypage.Q_page_3]
</block>

<block qpage4>
/ trials = [1 = surveypage.Q_page_4]
</block>

<block qpage5>
/ trials = [1 = surveypage.Q_page_5]
</block>

*******************************************************************************************************************
*******************************************************************************************************************
SURVEY
*******************************************************************************************************************
*******************************************************************************************************************
Notes:
- presents the surveypages
- to take pictures of each screen set /screencapture = true


<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2 = surveypage.Q_page_1; 3 = surveypage.Q_page_2; 4 = surveypage.Q_page_3; 5 = surveypage.Q_page_4; 6 = surveypage.Q_page_5]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
</survey>

*******************************************************************************************************************
End of File
*******************************************************************************************************************




Thank you so much!


What is this supposed to do?

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/ block = [1 = list.randomreport]
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

There is no such thing as a /block attribute in <surveypage> elements.

And this doesn't make sense either

<list randomreport>
/ items = (
item.ArrayPrior, item.ArrayField, item.ArraySpecialty, item.ArrayOpinion, item.ArrayBackedUp, item.ArrayConsistent, item.ArrayTrustworthiness)
/ resetinterval = 0
/ poolsize = 14
/ selectionmode = random
</list>

as I think we have covered before: https://www.millisecond.com/forums/FindPost25818.aspx

I don't understand what you intend that <list> to achieve, so I cannot really comment on what the proper way to achieve whatever that is would be. Please explain.

Hi Dave,

Thank you for your reply.
As advised, I have removed both my <list> element and <block> attribute within the <surveypage> element. My <block> attribute was my attempt at trying to display the randomised report on the surveypage, as I do not know the correct way. Could you please tell me the correct way of displaying the random report on each page?

Also - is there a way I can randomly select which question is presented on each page?

Thank you again!

My problem is that I cannot figure out what exactly you refer to as "the random report." Which element or elements -- by name -- in the code you posted would that be? And what exactly is random about it and how?

Hi Dave,

Sorry for the confusion. What I mean by "random report" is a list of 8 variables/statements (Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8), which each have three levels (1. Strong, 2. Weak, 3. Non applicable), and a level of that variable is selected at random for each variable, i.e., a participant is presented a report of 8 statements that contains a mixture of the three levels (perhaps 4 strong, 3 weak, 1 NA), and each participant is presented with a unique variation of those variables. To do this, I created an <item> for each statement (containing the three levels), and then <text> for each statement. I had gotten this report to work well before adding the questions, but am having difficulty displaying the same report on both the first page (with no questions), and each question page thereafter. The report presented on the first page needs to be the same report throughout the survey.

I then aim to randomise the order of questions (I am using slider elements) that are presented on each page, i.e., for participant 1, <slider consistency> is presented on <surveypage Q_page_2>, but for participant 3 it could be presented on <surveypage Q_page_4>.

So overall, I aim to display the report of 8 randomised statements on the first page by itself. I then aim to display the same report on each page thereafter, but with questions relating to the statements displayed at the bottom of the page.

Thank you so much for your patience and help with this. I hope this provides some clarity!
Bronte


Hi Dave,

To update - I have managed to display the report on each frame using a /stimulusframes attribute, however I cannot display the SAME report throughout. On each page, it is presenting a unique version of the report. While I definitely do want a unique report for each participant, I need it to be the same throughout the survey.
Is there a way I can do this?

Thank you again! I appreciate your help so much.





Okay, now I get what you want to do. Attach (click +Insert -> Add File...) the current revision of your script and I'll show you how.

Hi Dave,

Thank you again for your help. I have attached my current script. Please ignore the positioning of sliders/captions as I am still trying to iron that out.

Bronte

Thanks for attaching the revised script. See the modifications in the attached version. They are:
- set the <text> elements' /selectionrate to experiment instead of trial (the default), i.e. only a single item will be sampled for Q1 to Q8 each for the entire experiment, not one per trial.
- use a <caption> element to display the resulting report on the surveypages.

<text Q1>
/ items = ArrayPrior
/ select = replace
/ fontstyle = ("Arial", 1.28%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (-50%, -25%)
/ selectionrate = experiment

</text>

...

<text Q8>
/ items = ArrayTrustworthiness
/ select = replace
/ fontstyle = ("Arial", 1.28%, false, false, false, false, 5, 1)
/ txcolor = black
/ position = (-50%, -46%)
/ selectionrate = experiment

</text>

<caption randomreport>
/ caption = "<%text.Q1.currentitem%>~n<%text.Q2.currentitem%>~n<%text.Q3.currentitem%>~n<%text.Q4.currentitem%>~n<%text.Q5.currentitem%>~n<%text.Q6.currentitem%>~n<%text.Q7.currentitem%>~n<%text.Q8.currentitem%>~n"
/ position = (15%, 25%)
/ fontstyle = ("Arial", 1.28%)
</caption>

<surveypage random_report>
/caption ="<%parameters.completeinstructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/ questions = [1=caption.randomreport]
/ txcolor = black
/ recorddata = true
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (85%, 90%)
</surveypage>

...

<surveypage Q_page_5>
/ stimulusframes = [1 = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8]
/caption ="<%parameters.q_instructions%>"
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 2%, true, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 1.8%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = black
/questions = [1 = caption.randomreport, slider.credibility, slider.value, slider.weight, caption.c_credibility, caption.c_value, caption.c_weight]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (85%, 90%)
/ backbuttonposition = (15%, 90%)
/ recorddata = true
</surveypage>

Randomizing the questions is not possible the way the script is set up -- what you could easily do, however, is randomize the order of the various surveypages:

<survey Model5_RandomReport>
/pages = [1 = surveypage.random_report; 2-6 = noreplace(surveypage.Q_page_1, surveypage.Q_page_2, surveypage.Q_page_3, surveypage.Q_page_4, surveypage.Q_page_5); 7 = surveypage.demographics_1; 8 = surveypage.demographics_2; 9 = surveypage.demographics_3; 10 = surveypage.end_page]
/screencapture = false
/ backbuttonposition = (10%, 80%)
/nextbuttonposition = (90%, 80%)
/ onblockend = [
values.completed = 1;
]
/ finishlabel = "Finish"
</survey>

Dave, this is so wonderful. Thank you so much for your help!
GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search