Millisecond Forums

Please help with my Word CompletionTask

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

By Sophia - 3/18/2013

Hi,


I am doing a Word Completion Task right now. Incomplete words will be shown on the screen one at a time. For example, "st_de_t". Participants are required to type the letter in the "_" directly. Is it possible to do so? 



I tried to use <text> for each letter and <opended> for each blank. It turned out weird. I dont know how to cancel the label of the <opended> and each letter separated too much. Is it possible to put "st_de_t" just in one segment? 



Please help!!



Thanks!!!


By Dave - 3/18/2013

That's not possible.w/ <openended>. You'd have to use various <textbox> elements on a <surveypage>, but trying to align them would be a major pain.


I recommend you consider alternatives such as showing your subjects "st_de_t" as stimulus in a simple <text> element and having them type the entire word as response (i.e., student) instead of entering only missing letters separately.

By Sophia - 3/20/2013

Hi Dave, 


Thanks for your suggestion. Now I got another problem. When I use openended, the box is constantly appeared. But I want the fixation "+" appears alone (not appear with the box at the same time).


Here is what I got. Do you have any way to fix it? 



**************************************************************************************************************


**************************************************************************************************************




<item practice>


/1="d _ _ l"


/2="c _ _ d"


/3="p i _ _"


</item>



<item instructions>


/ 1 = "Please complete the given words and type the entire words in the box."


</item>



<text instructions>


/ items = instructions


/ size = (95%, 95%)


/fontstyle = ("Arial", 16pt, false)


/vposition = (70%)


</text>



<text practice>


/items = practice


/ fontstyle = ("Gujarati MT", 9.25%, false, false, false, false, 5, 0)


</text>



<text ready>


/ fontstyle = ("Gujarati MT", 9.25%, false, false, false, false, 5, 0)


/ items = ("+")


</text>



<trial instructions>


/ stimulustimes = [0=instructions]


/ validresponse = (" ")


/ recorddata = false


</trial>



<openended practice>


/size = (50,30)


/ position = (50, 60)


/ stimulustimes = [0=ready; 700=practice]


/ responseframe = 1


/ mouse = true


/ buttonlabel = "Next"


</openended>



<block practice>


/ trials = [1=instructions; 2-4=practice]


</block>



<expt>


/ blocks = [1=practice]


</expt>



By Dave - 3/20/2013

Get rid of the inappropriate /responseframe setting.

By Sophia - 3/22/2013

Thanks Dave!!!



Sorry I got more questions here. 



1. Is it possible to press ENTER instead of click NEXT using <openended>?


2. Is it possible to restrict the word length for each word? For example, when a participant see " b _ _e", he is required to type in a 4-letter word. If he types in a 5-letter word, he will not go to the next page. 



Thanks so much!!!

By Dave - 3/22/2013

1. Is it possible to press ENTER instead of click NEXT using <openended>?


No. Normally CTRL+ENTER would work, but that's unfortunately broken in 4.0.2.0 (the current Inquisit release version). It'll be fixed in the next.


2. Is it possible to restrict the word length for each word? For example, when a participant see " b _ _e", he is required to type in a 4-letter word. If he types in a 5-letter word, he will not go to the next page. 


Yes. You'll want to use the <openended>'s /isvalidresponse attribute and check if the length of the response is equal to that of the displayed stim (see the functions reference for the length() function, etc).