Forums

Display radio buttons/checkboxes in random order

philraymond 02 Apr, 2013
I'm hoping to use chronoforms as a poll.

Is there any way for radio buttons and checkboxes to be displayed in a random order (in order to decrease bias)?

Thanks,
Phil
GreyHead 03 Apr, 2013
Hi Phil,

I think you could do this by putting your options into an array and use the Dynamic Data tab to add the options to the radio button/checkbox group. You could use a little PHP with the shuffle() method to randomise the array each time the form is loaded.

Bob
philraymond 03 Apr, 2013
Thanks, I'll keep this in mind for the future and let you know if it works out. Phil
This topic is locked and no more replies can be posted.