+x Dave - 11/5/2024/ skip = [ if (script.currentblock == "block_1" && values.trial_a_criterion_learned) { return true; }; if (script.currentblock == "block_2" && values.trial_b_criterion_learned) { return true; };]
+x raven - 11/6/2024+x Dave - 11/5/2024/ skip = [ if (script.currentblock == "block_1" && values.trial_a_criterion_learned) { return true; }; if (script.currentblock == "block_2" && values.trial_b_criterion_learned) { return true; };]Hi Dave, thanks for your reply.I tried running the following code with three conditions, but when the first condition is met, it skips both the first and second conditions, and just keeps looping through trial_c instead./ skip = [ if (script.currentblock == "block_1" && values.trial_a_criterion_learned) { return true; }; if (script.currentblock == "block_2" && values.trial_b_criterion_learned) { return true; }; if (script.currentblock == "block_3" && values.trial_c_criterion_learned) { return true; };]Any ideas?
+x Dave - 11/6/2024+x raven - 11/6/2024+x Dave - 11/5/2024/ skip = [ if (script.currentblock == "block_1" && values.trial_a_criterion_learned) { return true; }; if (script.currentblock == "block_2" && values.trial_b_criterion_learned) { return true; };]Hi Dave, thanks for your reply.I tried running the following code with three conditions, but when the first condition is met, it skips both the first and second conditions, and just keeps looping through trial_c instead./ skip = [ if (script.currentblock == "block_1" && values.trial_a_criterion_learned) { return true; }; if (script.currentblock == "block_2" && values.trial_b_criterion_learned) { return true; }; if (script.currentblock == "block_3" && values.trial_c_criterion_learned) { return true; };]Any ideas?Post runnable code.