Creating conditional timelines #3449
Unanswered
chen-goren
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I have a timeline with a language selection trial at the beginning. After that trial, I have 3 almost identical timeline versions, with some language modifications in their texts (prompts). I"'m trying to code my script so after the language selection there will be a switching function that will push the correct timeline according to the user's selection. this is my code for the timeline selection:
I have also tried a different switch function:
As you can see, after the user selects a language, it is coded as 1, 2, or 3. In the switchTimeline element, I try to continue the experiment with the corresponding timeline (timelineMALE for 1, timelineFEMALE for 2, and timelineOTHER for 3 or not answering).
Unfortunately, after this language selection trial, the screen stays blank and the experiment gets stuck.
I would appreciate any help.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions