locating elements and unassigned trials


Author
Message
adkatz2
adkatz2
Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K 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 (207 views, 3.00 KB)
Dave
Dave
Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)Supreme Being (775K reputation)
Group: Administrators
Posts: 9.9K, Visits: 49K

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 (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)
Group: Forum Members
Posts: 13, Visits: 1

Thanks a ton!  :-)


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search