In one block I am collecting response from participant on a slider. And I am storing it as an embedded data. Now I want to generate two random numbers, one greater than the participants response and one lesser than the participants response. Then show them along with participant choice in the next block. Also, I want to do a mathematical operation on one of these random numbers.
I tried using Embedded data and random number but that does not always generate greater and lesser than the response of the participant. Is there any JS code available or similar code which I can modify. I am new in Java, so I need some help understanding.
Question
Generating Random number conditional on participant's response

Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.