Using JavaScript to score multiple responses in a text box | XM Community
Question

Using JavaScript to score multiple responses in a text box


Hello!

I am trying to program an experiment that involves a word game similar to Boggle. The participants will be given a 5x5 grid with 25 letters and asked to form as many words as possible in 3 minutes. Each puzzle has between 350 and 400 possible correct answers, and the participants will need to receive feedback between puzzles. I tried using the Scoring option, but the only way to do it is by creating hundreds of text boxes and inputting the hundreds of correct answers for each and every one of them. This would obviously be very time consuming, and I'm hoping there might be some kind of coding that would help me get around it.

Does anyone know if there is a way to circumvent this using JavaScript? If there is, would someone be willing to supply me with the code to do so?

Thank you!

Sami

0 replies

Be the first to reply!

Leave a Reply