Jump to content

This topic is 7211 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I'm building a little testing solution. I have a question with 4 possible multiple choice answers...each answer being in a seperate field. I'd like to have a button that would randomly "scramble" the answers in each field. This way an answer "key" couldn't be created as the correct answer would not always be in the same place.

Thanks in advance for any help/suggestions.

===Okay, I made a solution by doing a sequences of copy/pastes using temporary fields. Don't know if it is the most elegant, but it works.===

Edited by Guest
Posted (edited)

I would put the answers in a related table, with these fields:

AnswerID (serial)

QuestionID

Answer

IsCorrect (flags the correct answer)

cRandom (unstored calculation, result is number,= Random)

Display the answers in a portal sorted by cRandom. A Refresh Window script step, with 'Flush cached...' option checked, will scramble the order of display.

Edited by Guest

This topic is 7211 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.