locating elements and unassigned trials


locating elements and unassigned trials

Author
Message
adkatz2
adkatz2
Esteemed Member
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)

Group: Forum Members
Posts: 13, Visits: 1

Hi, all.


'Sorry for asking a probably basic question (I'm a total novice running solely on intuition).  Dave helped me to figure out how to write a forced-choice survey item, and I was able to run it when it was alone in an experiment script.  However, I tried to add several similar items to my demographics block (including an open-ended item for Ps to enter their age), and I got some error messages I don't know how to resolve.:



/trials: Could not locate element '2'.


/trials: trial 1 is unassigned.



Can anyone tell me what I am doing wrong?  Do I need to set up these items in separate blocks?


The script is attached


--adkatz2


Attachments
demographic.exp (197 views, 3.00 KB)
Dave
Dave
Supreme Being
Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)Supreme Being (709K reputation)

Group: Administrators
Posts: 9.8K, Visits: 47K

Hi again,


minor syntax error in your script:


<block demogs>
/ trials = [1 =ethn, 2 = gdr, 3 = age, 4 = disc]
</block>


needs to read


<block demogs>
/ trials = [1 =ethn; 2 = gdr; 3 = age; 4 = disc]
</block>


Cheers,


~Dave


adkatz2
adkatz2
Esteemed Member
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)

Group: Forum Members
Posts: 13, Visits: 1

Thanks a ton!  :-)


GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search