Support Forums

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

Complicated randomization

Add a New Topic Reply to Post
UserPost

11:39
May 16, 2008


v0max

New Member

posts 1

This problem has been kicking my ass, it really shouldn’t be this complicated to do what I want:

I have two categories of questions, each category contains seven different questions. I want to:

1) Randomly ask a question from one of the two categories (randomly deciding which category is first)
2) Randomly ask a question from the other category
3) Ask them 1 of 2 controls, randomly chosen
4) Randomly ask a question from the first category (making sure to not ask the same question as #1)
5) Randomly ask a question from the second category (making sure to not ask the same question as #2)

Each question consists of an image and four radio buttons. Each of the radio buttons is actually the same (asking them which item from the given image they would choose). I just need to keep track of which image is being shown each time (and then which button they clicked in response to the given image).

Any help would be greatly appreciated.

3:12
May 19, 2008


Christian Vanek

Moderator

Cambridge, MA

posts 788

Hi there v0max,

You should be able to do this. Have you considered breaking each stage up into separate pages then using the “show X number of questions form this page” feature (this is an advanced page option). It will choose “x” number of questions randomly from the page and display them.

Cheers,

-Christian

Add a New Topic Reply to Post


Reply to Topic: Complicated randomization

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 9        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)