Millisecond Forums

Survey and Instructions

https://forums.millisecond.com/Topic2787.aspx

By Roisin - 5/1/2009


I have a survey embedded in a larger experiment and need to put pre and post instructions just around the survey piece of the experiment. Is there a way to do this? Please note, the rest of the experiment is randomly ordered, so I cannot put the instructions around the other pieces of the experiment.


I would greatly appreciate any suggestions for how to do this.



Roisin

By seandr - 5/1/2009

Hi Roison,

If you are locked into using instruction pages for some reason (e.g., you need to present HTML), you could string together a block, survey and block using branching. The first block does nothing but presents instruction pages and then branches to the survey. After the survey is complete, it branches to another block that presents additional instruction pages:

<block preinstructions>
/ preinstructionpage = (page1)
/ branch = [survey.mysurvey]
</block>

<survey mysurvey>
...
/ branch = [block.postinstructions]
...
</survey>

<block postinstructions>
/ preinstructionpage = (page2)
</block>

At the expt level, you would launch the preinstructions block instead of directly launching the survey.

Hope this helps,
Sean
By Jimmy Page - 2/17/2012

Sean,


I followed your suggestion on my script. However, when I leave the preinstruction page, it kicks me out and does not go to my survey. Would you happen to know what I am missing? please see my script below. It would be greatly appreciated if you could help.



<expt>
/ preinstructions = (instr1)
</expt>


<block preinstructions>
/ preinstructionpage = (instr1)
/ branch = [survey.preiat]
</block>

<textbox dob>
/caption = "Enter your birthday below (MM/DD/YYYY)"
</textbox>

<radiobuttons gender>
/ caption = "Gender"
/ options = ("Female", "Male")
</radiobuttons>

<radiobuttons race>
/ caption = "Race"
/ options = (
    "African American",
    "Asian",
    "Caucasian",
    "Latin American")
/ other = "Other"
</radiobuttons>

<textbox yearsteaching>
/ caption = "Years of college teaching experience."
/ mask = positiveinteger
/ range = (0, 50)
</textbox>

<checkboxes teachingappointment>
/ caption = "Select the subject(s) below that most relate to your primary teaching appointment:"
/ options = ("Dance", "Health and Wellness", "Motor Behavior", "Exercise and Sport Science",
"Nutrition and Healthy Eating", "Outdoor Activities", "Physical Education Teaching", "Recreation",
"Sport Management and Marketing", "Sport Activities", "Strength and Conditioning", "Measurement and Evaluation",
"Sport Psychology/Sociology")
/ other = "Other"
</checkboxes>

<radiobuttons opinion1>
/ caption = "Physical education teachers SHOULD NOT be obese, since they are role models to their students."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons opinion2>
/ caption = "Physical Education Teaching Education Programs SHOULD NOT accept students who are obese."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas1>
/ caption = "Fat people are less sexually attractive than thin people."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas2>
/ caption = "I would never date a fat person."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas3>
/ caption = "On average, fat people are lazier than thin people."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas4>
/ caption = "Fat people only have themselves to blame for their weight."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas5>
/ caption = "It is disgusting when a fat person wears a bathing suit at the beach."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>


<page instr1>
^ complete the survey.
</page>

<page instr2>
^ Thanks.
</page>


<surveypage demographics1>
/ caption = "Please answer the following demographic questions."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=dob; 2=gender; 3=race]
/ finishlabel = "Next >"
</surveypage>

<surveypage demographics2>
/ caption = "Please answer the following demographic questions - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=yearsteaching; 2=teachingappointment]
/ finishlabel = "Next >"
</surveypage>

<surveypage questionnaire1>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=opinion1; 2=opinion2; 3=afas1]
/ finishlabel = "Next >"
</surveypage>

<surveypage questionnaire2>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=afas2; 2=afas3; 3=afas4]
/ finishlabel = "SUBMIT"
</surveypage>

<surveypage questionnaire3>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=afas5]
/ finishlabel = "SUBMIT"
</surveypage>

<surveypage thankyou>
/ caption = "Your infromation was submitted successfully."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ finishlabel = "GO TO IAT TEST"
</surveypage>

<survey preiat>
/ pages = [1=demographics1; 2=demographics2; 3=questionnaire1; 4=questionnaire2; 5=questionnaire3; 6=thankyou]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ branch = [block.postinstructions]
</survey>

<block postinstructions>
/ preinstructionpage = (instr2)
</block>

By Dave - 2/17/2012

See below:


<expt>
/ blocks = [1=preinstructions]
</expt>


<block preinstructions>
/ preinstructions = (instr1)
/ branch = [survey.preiat]
</block>

<textbox dob>
/caption = "Enter your birthday below (MM/DD/YYYY)"
</textbox>

<radiobuttons gender>
/ caption = "Gender"
/ options = ("Female", "Male")
</radiobuttons>

<radiobuttons race>
/ caption = "Race"
/ options = (
    "African American",
    "Asian",
    "Caucasian",
    "Latin American")
/ other = "Other"
</radiobuttons>

<textbox yearsteaching>
/ caption = "Years of college teaching experience."
/ mask = positiveinteger
/ range = (0, 50)
</textbox>

<checkboxes teachingappointment>
/ caption = "Select the subject(s) below that most relate to your primary teaching appointment:"
/ options = ("Dance", "Health and Wellness", "Motor Behavior", "Exercise and Sport Science",
"Nutrition and Healthy Eating", "Outdoor Activities", "Physical Education Teaching", "Recreation",
"Sport Management and Marketing", "Sport Activities", "Strength and Conditioning", "Measurement and Evaluation",
"Sport Psychology/Sociology")
/ other = "Other"
</checkboxes>

<radiobuttons opinion1>
/ caption = "Physical education teachers SHOULD NOT be obese, since they are role models to their students."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons opinion2>
/ caption = "Physical Education Teaching Education Programs SHOULD NOT accept students who are obese."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas1>
/ caption = "Fat people are less sexually attractive than thin people."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas2>
/ caption = "I would never date a fat person."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas3>
/ caption = "On average, fat people are lazier than thin people."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas4>
/ caption = "Fat people only have themselves to blame for their weight."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>

<radiobuttons afas5>
/ caption = "It is disgusting when a fat person wears a bathing suit at the beach."
/ options = ("Strongly Agree", "Agree", "Neutral", "Disagree", "Strongly Disagree" )
</radiobuttons>


<page instr1>
^ complete the survey.
</page>

<page instr2>
^ Thanks.
</page>


<surveypage demographics1>
/ caption = "Please answer the following demographic questions."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=dob; 2=gender; 3=race]
/ finishlabel = "Next >"
</surveypage>

<surveypage demographics2>
/ caption = "Please answer the following demographic questions - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=yearsteaching; 2=teachingappointment]
/ finishlabel = "Next >"
</surveypage>

<surveypage questionnaire1>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=opinion1; 2=opinion2; 3=afas1]
/ finishlabel = "Next >"
</surveypage>

<surveypage questionnaire2>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=afas2; 2=afas3; 3=afas4]
/ finishlabel = "SUBMIT"
</surveypage>

<surveypage questionnaire3>
/ caption = "Next you will see a series of statements or opinions  about fat people. You are asked to indicated your own personal opinions. There are no right or wrong answers--only opinions.  Just give the answer that most accurately states your opinion.  Remember, your responses are anonymous, so please be completely honest - CONT'D."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ questions = [1=afas5]
/ finishlabel = "SUBMIT"
</surveypage>

<surveypage thankyou>
/ caption = "Your infromation was submitted successfully."
/ fontstyle = ("Verdana", -12, true, false, false, false, 5, 0)
/ finishlabel = "GO TO IAT TEST"
</surveypage>

<survey preiat>
/ pages = [1=demographics1; 2=demographics2; 3=questionnaire1; 4=questionnaire2; 5=questionnaire3; 6=thankyou]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ branch = [block.postinstructions]
</survey>

<block postinstructions>
/ preinstructions = (instr2)
</block>

By Jimmy Page - 2/18/2012

Dave,


Thank you VERY much!