|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 6/11/2008 5:44:13 PM
Posts: 6,
Visits: 14
|
|
| Hi there, I'd like to know how can I do to create an experiment where participants have the possibility to make a choice between several blocks and then they could directly go to the block that they asked. If anyone can help me, Thanks very much.
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 7/20/2008 9:20:29 PM
Posts: 16,
Visits: 133
|
|
radool...while I'm waiting on a response to my question (the one before yours), I thought I'd recommend an answer to yours. It is pretty basic, and combines the use of Labels and GoTo statements in a little inline script.
The general idea is to ask the user to make a choice, and then to use the RESP property in an inline to direct where they go next. In the demo code I set up, there are three choices, so before each choice in the timeline there is a corresponding label. The inline reads off the RESP from the choice screen, and then uses a GoTo to jump to the label that precedes the desired "block" of code (not sure I'm using this the way you mean it).
(Note: I also assumed that after the desired block is done, we want the user to jump ahead--or to the end in the case of the demo--and not see the other blocks. To do this I added a GoToEnd inline after each choice, that prevents the user from seeing the other blocks.)
For fun, I added another GoTo at the end, which allows the user to either end the experiment or loop (via LabelStart) back to the beginning.
I hope it helps...please let me know if you have any questions (there are obviously more elegant ways to achieve the same result...this is more or less a brute force solution!).
Matt
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/13/2008 8:41:24 AM
Posts: 5,
Visits: 21
|
|
Is there also a way to jump to a label of a DIFFERENT procedure? It seems that e-prime only remembers labels WITHIN a procedure making it impossible to jump between procedures.
Thanks in advance
|
|
|
|