Millisecond Forums

Translating Inquisit 5 to 4

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

By darbyh - 3/10/2017

Hi!

I've programmed my study using the free trial version of Inquisit 5, but our lab only has a license to run Inquisit 4 as a web experiment. Is there any way to convert my script to Inquisit 4, or do we need to purchase a new license?

Thank you!
By Dave - 3/10/2017

darbyh - Friday, March 10, 2017
Hi!

I've programmed my study using the free trial version of Inquisit 5, but our lab only has a license to run Inquisit 4 as a web experiment. Is there any way to convert my script to Inquisit 4, or do we need to purchase a new license?

Thank you!

No, there is no way to convert it automatically. What you'll have to do is go through the script manually and replace any Inquisit 5-specific syntax features you may have used with their Inquisit 4-syntax equivalents (insofar as any equivalents or near-equivalents exist). If you attach the script here (click +Insert -> Add File when posting a reply), I should be able to tell you what needs changing and what -- if anything -- cannot be implemented in Inquisit 4 syntax.
By darbyh - 3/10/2017

Dave - Friday, March 10, 2017
darbyh - Friday, March 10, 2017
Hi!

I've programmed my study using the free trial version of Inquisit 5, but our lab only has a license to run Inquisit 4 as a web experiment. Is there any way to convert my script to Inquisit 4, or do we need to purchase a new license?

Thank you!

No, there is no way to convert it automatically. What you'll have to do is go through the script manually and replace any Inquisit 5-specific syntax features you may have used with their Inquisit 4-syntax equivalents (insofar as any equivalents or near-equivalents exist). If you attach the script here (click +Insert -> Add File when posting a reply), I should be able to tell you what needs changing and what -- if anything -- cannot be implemented in Inquisit 4 syntax.

Thank you so much!
By Dave - 3/12/2017

darbyh - Saturday, March 11, 2017
Dave - Friday, March 10, 2017
darbyh - Friday, March 10, 2017
Hi!

I've programmed my study using the free trial version of Inquisit 5, but our lab only has a license to run Inquisit 4 as a web experiment. Is there any way to convert my script to Inquisit 4, or do we need to purchase a new license?

Thank you!

No, there is no way to convert it automatically. What you'll have to do is go through the script manually and replace any Inquisit 5-specific syntax features you may have used with their Inquisit 4-syntax equivalents (insofar as any equivalents or near-equivalents exist). If you attach the script here (click +Insert -> Add File when posting a reply), I should be able to tell you what needs changing and what -- if anything -- cannot be implemented in Inquisit 4 syntax.

Thank you so much!

Inquisit 4 syntax has no <paramaters> element; you can use <values> instead. That's the main change required. The attached revision should work under Inquisit 4.
By darbyh - 3/12/2017

Thank you so much! I combined all the experiments so that it would be in one file, but I'm actually using the batch feature to randomize them. Does batch work in 4 also? Thank you for all your help!
By Dave - 3/12/2017

darbyh - Sunday, March 12, 2017
Thank you so much! I combined all the experiments so that it would be in one file, but I'm actually using the batch feature to randomize them. Does batch work in 4 also? Thank you for all your help!

Yes, your <batch> elements should work fine under Inquisit 4. However, don't take my word for it -- download and install Inquisit 4 Lab via https://www.millisecond.com/download and run your scripts through it.
By darbyh - 3/12/2017

Will do. Thanks so much, Dave.
By Dave - 3/12/2017

darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!
By darbyh - 3/12/2017

Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby
By Dave - 3/13/2017

darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.
By Dave - 3/13/2017

Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>
By darbyh - 3/13/2017

Dave - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

This works perfectly. Thank you, Dave, you're a hero!
By darbyh - 3/13/2017

darbyh - Monday, March 13, 2017
Dave - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

This works perfectly. Thank you, Dave, you're a hero!

Hey, Dave--

Hopefully this will be the last question. Would you happy to know what this "Nul" icon is that keeps popping up whenever I try to run the experiment? It happens for different batches at different times, but does not apparently keep those batches from running. 
https://www.millisecond.com/forums/Uploads/Images/255a5899-f1db-4884-a082-a629.png

Thank you!
By Dave - 3/13/2017

darbyh - Monday, March 13, 2017
darbyh - Monday, March 13, 2017
Dave - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

This works perfectly. Thank you, Dave, you're a hero!

Hey, Dave--

Hopefully this will be the last question. Would you happy to know what this "Nul" icon is that keeps popping up whenever I try to run the experiment? It happens for different batches at different times, but does not apparently keep those batches from running. 
https://www.millisecond.com/forums/Uploads/Images/255a5899-f1db-4884-a082-a629.png

Thank you!

That's just a control character which shouldn't do anything harmful. Not sure why it shows up, though. If you delete it and then save the file, does it return / show up again?

By darbyh - 3/13/2017

Dave - Monday, March 13, 2017
darbyh - Monday, March 13, 2017
darbyh - Monday, March 13, 2017
Dave - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

This works perfectly. Thank you, Dave, you're a hero!

Hey, Dave--

Hopefully this will be the last question. Would you happy to know what this "Nul" icon is that keeps popping up whenever I try to run the experiment? It happens for different batches at different times, but does not apparently keep those batches from running. 
https://www.millisecond.com/forums/Uploads/Images/255a5899-f1db-4884-a082-a629.png

Thank you!

That's just a control character which shouldn't do anything harmful. Not sure why it shows up, though. If you delete it and then save the file, does it return / show up again?


I think it's fine! 

Another question, though. After I added the "~t~t"s to my options so that they wouldn't get decapitated when randomized, I think it messed with the conditional branching (it no longer goes from a guilty verdict to asking for a sentence, and instead just goes to another survey, which is incorrect given the guilty verdict). When I take the ~t~t out of the option the branching works again, but the options get decapitated. Any idea of how to have both, or do I have to choose one or the other?  

I'm attaching the whole script, but that part I'm referring to is mainly:

<survey verdict1>
/ pages=[1=verdict1]
/ showbackbutton=false
/ screencolor = white
/ branch = [
if (radiobuttons.verdict1.response == "Guilty~t~t") survey.guiltysurvey else survey.notguiltysurvey]
</survey>

<survey guiltysurvey>
/ pages = [1=confidence; 2=sentence1; 3=fine1; 4=guiltyaddictverdictchange]
/ branch = [
if (radiobuttons.guiltyaddictverdictchange.response == "No Change~t~t~t~t~t~t~t~t~t~t~t") survey.gaddictguilty
]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey gaddictguilty>
/ pages = [1=ggsentenceaddict; 2=ggfineaddict;]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey notguiltysurvey>
/ pages = [1=confidence; 2=notguiltyaddictverdictchange]
/ branch = [
if (radiobuttons.notguiltyaddictverdictchange.response == "Change from Not Guilty to Guilty") survey.ngaddictguilty
]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey ngaddictguilty>
/ pages = [1=ngsentenceaddict; 2=ngfineaddict]
/ showbackbutton = false
/ screencolor = white
</survey>

<surveypage verdict1>
/questions = [1 = verdict1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<radiobuttons verdict1>
/caption ="What would your verdict be as a juror in this case?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("Not Guilty", "Guilty~t~t")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

<surveypage confidence>
/questions = [1 = confidence]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<radiobuttons confidence>
/caption = "How confident are you in your verdict?"
/ options = ("Not very confident", "Somewhat confident", "Fairly confident", "Very confident", "Extremely confident")
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ order = sequence
/ required = true
/ orientation = vertical
/ responsefontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

<surveypage sentence1>
/ txcolor = black
/questions = [1 = sentence1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<textbox sentence1>
/caption = "If the judge now asked you, as a juror, to recommend a punishment for the defendant, what sentence (in months) would you recommend?~nNote: The MAXIMUM sentence for this crime is twelve (12) months in county jail.~n"
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ required = true
/ maxchars = 2
/ multiline = false
/ range = (0,12)
/ position = (10%, 25%)
/ textboxsize = (10,5)
/ monkeyresponse = ["5"]
</textbox>


<surveypage fine1>
/ txcolor = black
/questions = [1 = fine1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<textbox fine1>
/ caption = "If the judge now asked you, as a juror, to recommend a fine for the defendant, what amount (in dollars) would you recommend?~nNote: The MAXIMUM fine for this crime is up to one thousand dollars ($1,000)."
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ required = true
/ maxchars = 4
/ multiline = false
/ range = (0, 1000)
/ position = (10%, 25%)
/ textboxsize = (10, 5)
/ monkeyresponse = ["5"]
</textbox>

By darbyh - 3/13/2017

darbyh - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Monday, March 13, 2017
darbyh - Monday, March 13, 2017
Dave - Monday, March 13, 2017
Dave - Monday, March 13, 2017
darbyh - Sunday, March 12, 2017
Dave - Sunday, March 12, 2017
darbyh - Sunday, March 12, 2017
Will do. Thanks so much, Dave.

If you hit any compatibility problems with the other scripts under Inquisit 4, let me know here and I'll gladly take a look!

Hi, Dave!

I dowloaded Inquisit 4 and ran the script, and it works really well--thank you! The only problems I've run into are formatting problems (e.g. changes with buttons, text shift, etc.) and for the most part they've been easy fixes, but for some reason the text of certain options of certain radio button questions are getting chopped off. For one of them, I was able to use /size to fix it, but for the others, the change seems impervious to /size manipulations. I've attached a screenshot as an example of what's going on. 
I imagine I could simply change the size of the text, but if it's possible to avoid doing that, that'd be miraculous. I also might be missing something completely obvious, and if that's the case, I sincerely apologize for my obtuseness! 

Thank you so much!

Darby

I don't think you're missing anything obvious -- can you attach the script with the above cut-off question so I can take a closer look? Thanks.

Nevermind -- I hadn't realized at first that it was in the same script you already attached. The problem, I think, ultimately stems from the fact that the option order is randomized

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack","A computer", "A loaf of bread", "A watch")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

which seems to throw off the size calculation. A quick "fix" should be to add a few tabs to the options to artificially increase the length / make it approximately equal across options like so:

<radiobuttons manip5>
/caption ="What object did the defendant, Mr. Smith, pick up?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("A backpack~t~t","A computer~t~t", "A loaf of bread~t~t", "A watch~t~t")
/ optionvalues = ("1", "2", "3", "4")
/ correctresponse = ("1")
/ validresponse = ("1", "2", "3", "4")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

This works perfectly. Thank you, Dave, you're a hero!

Hey, Dave--

Hopefully this will be the last question. Would you happy to know what this "Nul" icon is that keeps popping up whenever I try to run the experiment? It happens for different batches at different times, but does not apparently keep those batches from running. 
https://www.millisecond.com/forums/Uploads/Images/255a5899-f1db-4884-a082-a629.png

Thank you!

That's just a control character which shouldn't do anything harmful. Not sure why it shows up, though. If you delete it and then save the file, does it return / show up again?


I think it's fine! 

Another question, though. After I added the "~t~t"s to my options so that they wouldn't get decapitated when randomized, I think it messed with the conditional branching (it no longer goes from a guilty verdict to asking for a sentence, and instead just goes to another survey, which is incorrect given the guilty verdict). When I take the ~t~t out of the option the branching works again, but the options get decapitated. Any idea of how to have both, or do I have to choose one or the other?  

I'm attaching the whole script, but that part I'm referring to is mainly:

<survey verdict1>
/ pages=[1=verdict1]
/ showbackbutton=false
/ screencolor = white
/ branch = [
if (radiobuttons.verdict1.response == "Guilty~t~t") survey.guiltysurvey else survey.notguiltysurvey]
</survey>

<survey guiltysurvey>
/ pages = [1=confidence; 2=sentence1; 3=fine1; 4=guiltyaddictverdictchange]
/ branch = [
if (radiobuttons.guiltyaddictverdictchange.response == "No Change~t~t~t~t~t~t~t~t~t~t~t") survey.gaddictguilty
]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey gaddictguilty>
/ pages = [1=ggsentenceaddict; 2=ggfineaddict;]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey notguiltysurvey>
/ pages = [1=confidence; 2=notguiltyaddictverdictchange]
/ branch = [
if (radiobuttons.notguiltyaddictverdictchange.response == "Change from Not Guilty to Guilty") survey.ngaddictguilty
]
/ showbackbutton = false
/ screencolor = white
</survey>

<survey ngaddictguilty>
/ pages = [1=ngsentenceaddict; 2=ngfineaddict]
/ showbackbutton = false
/ screencolor = white
</survey>

<surveypage verdict1>
/questions = [1 = verdict1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<radiobuttons verdict1>
/caption ="What would your verdict be as a juror in this case?"
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ options = ("Not Guilty", "Guilty~t~t")
/ order = random
/required = true
/orientation = vertical
/ responsefontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

<surveypage confidence>
/questions = [1 = confidence]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<radiobuttons confidence>
/caption = "How confident are you in your verdict?"
/ options = ("Not very confident", "Somewhat confident", "Fairly confident", "Very confident", "Extremely confident")
/ fontstyle = ("Arial", 4%, true, false, false, false, 5, 0)
/ txcolor = black
/ order = sequence
/ required = true
/ orientation = vertical
/ responsefontstyle = ("Arial", 2.5%, true, false, false, false, 5, 0)
/ position = (10%, 25%)
</radiobuttons>

<surveypage sentence1>
/ txcolor = black
/questions = [1 = sentence1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<textbox sentence1>
/caption = "If the judge now asked you, as a juror, to recommend a punishment for the defendant, what sentence (in months) would you recommend?~nNote: The MAXIMUM sentence for this crime is twelve (12) months in county jail.~n"
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ required = true
/ maxchars = 2
/ multiline = false
/ range = (0,12)
/ position = (10%, 25%)
/ textboxsize = (10,5)
/ monkeyresponse = ["5"]
</textbox>


<surveypage fine1>
/ txcolor = black
/questions = [1 = fine1]
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (50%, 90%)
/ navigationbuttonfontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ navigationbuttonsize = (10.35,5)
/ finishlabel = "Next"
</surveypage>

<textbox fine1>
/ caption = "If the judge now asked you, as a juror, to recommend a fine for the defendant, what amount (in dollars) would you recommend?~nNote: The MAXIMUM fine for this crime is up to one thousand dollars ($1,000)."
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 0)
/ required = true
/ maxchars = 4
/ multiline = false
/ range = (0, 1000)
/ position = (10%, 25%)
/ textboxsize = (10, 5)
/ monkeyresponse = ["5"]
</textbox>


Scratch that--figured it out! I added /optionvalues and then just branched based on the selected value, instead of the response. Thanks so much, Dave!