Question
Custom Code to put a red box around a multiple choice option
Hi,
I am looking for custom code to put a red frame around one of 6 choices in a multiple choice question. The multiple choice question includes 6 images (all of which are graphics) to choose from. To start, I want one of the options to have a red frame around it (so that I can reference it in the question stem). Then, I want to carry forward these six options to a subsequent multiple choice question and for this question, I want the red box to be removed. This would be easy to do (without custom code) if the multiple choice questions always included the same 6 options, but they don't. The 6 options included for a given participant are drawn from a larger pool of 40 options and then once drawn, the order of these options is randomized. And, I need the same six options to be present in the second multiple choice question (the one without the red box) and I also need them to be in the same order as in the first question.
I am assuming that this should be pretty easy to do with javascript, but it's far beyond my capabilities.
Thank you!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.