Hi all,
Forgive me for the novice questions. I am extremely new to CSS and Javascript and completely new to this forum. I am trying to accomplish a few things with my survey but can't write the code on my own:
1) I want to use Javascript to record the answer choice that a participant clicks for a multiple choice question; on a following page, I want to show all the choices again but change the CSS so that the border of the chosen choice is colored.
2) I want to randomly select 2 of the first 5 answer choices that are NOT the clicked one, and I want to do the same thing one at a time; change each one's border color on subsequent pages of the survey with all the choices shown.
3) Not necessary, but ideally, I would like to somehow make a slider style question appear alongside the chosen answer choice and the two random non-chosen ones on their respective pages.
Can anyone help me with the JS code to attain this, and is there a way to integrate it with the custom CSS so that I can change the border colors? Does this task require setting embedded data for the choices?
Many thanks!
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.