Forum Discussion
Multiple Text Entry Quiz
Hi Louise and Becky,
Although the text entry question type is designed to evaluate just one text field, here's a workaround for evaluating multiple blanks on one slide:
I set up a table with multiple text entry fields, using the logic shown in this video. Correct answers trigger the Correct layer and incorrect answers trigger the Incorrect layer. However, I want users to retry answering any incorrect fields. I set the text entry fields to equal blank if they are not equal to the correct answer. All of this works correctly.
My issue is when I click the "Submit" button a second time, upon retrying the question, the Invalid Answer prompt appears and says "You must complete the question before submitting."
I've experimented with resetting the slide to Initial/Resume State but cannot find the solution. Any ideas???
- DianaMyers6 years agoCommunity Member
@Kat
Do you have your interaction set up for multiple attempts? I have a similar project, though in mine I provide a "Clear all" button on the main slide.
And once you have the interaction set to Unlimited or a specified # of attempts (1st image), you'll show the Try Again layer instead of Incorrect, and you'll have the trigger(s) to clear the incorrect fields to on the Try Again layer, too. Keep in mind, you can also add buttons (2nd image) on the Try Again layer if you want to give learners the option of viewing answers, jumping to another slide, etc.
Hopefully that makes sense. I'm happy to help you trouble-shoot further--just reply or reach out using the Contact Me link on my Articulate profile. Good luck!
- KatKlein-6aaf496 years agoCommunity Member
Thanks for the suggestions Diana! I'm attaching the Storyline file in case you can take a look further...
I do have the Attempts set to Unlimited and did I set up triggers to clear the incorrect fields, however, the question is now only showing the Try Again layer, even when all 4 correct entries are submitted. I added a NOTE for you with the correct values for each Text Entry field.
My goal is to allow users to retry the entries that are incorrect, but if this is too complicated, I like your option of including a View Answers button that displays in the Try Again layer.
Thank you!
- DianaMyers6 years agoCommunity Member
@Kat,
The reason it shows the incorrect layer is that the Change State of Correct BTN to Correct if... and the Change State of Incorrect BTN if.. triggers are evaluated once the first TextEntry variable changes... That set up would only work if the field for TextEntry is the last field updated.
I moved the two offstage buttons onto the slide and added the variable references* into the red text box so that I could see what was happening in real time. Take a look at the attached video to see what I mean about the timing of the correct/incorrect buttons changing to their selected state.
You've got a couple of options for how to move forward.
- You can indicate the order of text entry fields and then base the state change trigger on the last TextEntry variable change. This would rely on the user following the proscribed order of entry, so it might not be the best solution.
OR - You can update the triggers to change the state of the offstage buttons when the user clicks the Submit button. I've attached my version of your .story file, but the attached image shows the new triggers--just keep in mind that the order of the triggers matters. You want the conditional change state triggers to occur first, then the trigger to submit the interaction, then the show layer triggers. See it work in the 2nd video.
Hope this helps. Again, let me know if you have any questions. Diana
* Inserting a variable reference isn't always obvious, but I love doing it during development and testing because it lets me see what's happening as the variables update. you can always move any variable references offstage once you confirm everything is working correctly.
- You can indicate the order of text entry fields and then base the state change trigger on the last TextEntry variable change. This would rely on the user following the proscribed order of entry, so it might not be the best solution.
Related Content
- 8 months ago
- 10 years ago
- 2 years ago