Millisecond Forums

requiring that Ps spend a min time on response

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

By vz29 - 4/7/2014

Hi,
I'd like Ps to spend at least 3 minutes in response to a prompt. How do I code Inquisit so that Ps can't advance until 3 minutes have elapsed? The current code is below:

V

<survey prime_c>
/ pages = [1=describe_c]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ itemspacing = 2%
/ showpagenumbers = false
/ finishlabel = "Next"
/ branch = [block.mood_c]
</survey>

               ------------------------------------------------------------------------------------
               *** PAGES ****
               ------------------------------------------------------------------------------------

<surveypage describe_c>
/ caption = "Please answer the following questions"
/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)
/ questions = [1=describetext_c]
</surveypage>

<textbox describetext_c>
/ caption = "Please think about a time ...
Describe in detail ..."
/ multiline = true
/ textboxsize = (70, 50)
/ size = (70, 50)
</textbox>

By Dave - 4/7/2014

#1: Use <openended>, *not* <surveypage> / <textbox>.

#2: Use /isvalidresponse to impose the minimum time they ought to spend responding:

<openended myopenended>
[...]
/ isvalidresponse = [openended.myopenended.latency >= 30000]
</openended>