Millisecond Forums

openended - linelength

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

By Desiree - 8/25/2016

Hi! Does anyone have any idea why, with my script below, it only allows 20 alphanumerical signs to be filled in (instead of 40)?

<text ParticipantID>
/items= ("Welcome! Please enter your Prolific Participant ID to get started.")
/ hjustify=center
/ valign=center
/ size =(1200,750)
/ fontstyle=("Arial", 4%, false, false, false, false, 5, 0)
</text>

<openended ParticipantID>
/ mask = alphanumeric
/ position= (50,50)
/ stimulusframes= [1=ParticipantID]
/ linelength= 40
/ validresponse= (anyresponse)
</openended>

<block ParticipantID>
/ trials = [1=ParticipantID]
</block>
By Dave - 8/25/2016

That's because of the openended's default /charlimit. If the /charlimit attribute is not specified, Inquisit assumes a default value of 20. If you want to allow for 40 characters max, you should set

<openended ParticipantID>
/ mask = alphanumeric
/ position= (50,50)
/ stimulusframes= [1=ParticipantID]
/ linelength= 40
/ charlimit = 40
/ validresponse= (anyresponse)
</openended>
By Desiree - 8/25/2016

Great! Thank you!!