Textbox


Author
Message
teilai
teilai
Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)
Group: Forum Members
Posts: 8, Visits: 91
Thanks! I was able to solve the problem. openended was more appropriate for my purposes anyway.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
A <textbox> is *not* a <trial> element, hence you cannot run it via a <block>'s /trials attribute. To use a <textbox>, you need to put it on a <surveypage> (via its /questions) attribute. A <surveypage> is a special kind of <trial> element.

Alternatively you can use the <openended> trial element.

teilai
teilai
Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)Partner Member (962 reputation)
Group: Forum Members
Posts: 8, Visits: 91
This is a question and a problem, since I don't get this simple thing working. I have a list of 15 questions (likert scales) and as a 16th a textbox "Other" in which participants can enter other items:

<block part_3>
/preinstructions = (instr_p3)
/trials = [1-15 = co_dependance1_l; 16 = co_dependance2_t]
</block>

<textbox co_dependance2_t>
/caption = "Autre (préciser):"
/size = (800, 100)
/position = (50, 30)
</textbox>

When I run the script, I get the message: 'Could not locate element co_dependance2_t'. If I remove the 16th trial from the block part_3, everything works fine (of course the textbox does not show up). If this is not how this is done, how should it be done? Thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search