Forum Discussion
Can we implement a JavaScript solution where users can download all questions and answers to a PDF by clicking a button?
The current solution involves capturing variables for each question and answer, but it's reaching the suspended data limit when more questions are added. This poses a significant issue. Could anyone recommend alternative methods or strategies to effectively tackle this limitation?
- JohnCooper-be3cCommunity Member
@Jim Carry
Hi Jim
I'm assuming we are talking Storyline, but I'm not quite sure I understand the limitation. Are you saying that...
...at run time, you are selecting a number of questions at random from a question bank. Storing the question text, possible answers and the user response all in variables and then using these to construct a pdf using a JavaScript library? If so, which library? and how many questions are your learner's answering?
You can certainly create a JavaScript solution that can read your question text at run time into an array which you reference by index number - and that array could be pretty big without any problems.
Can you perhaps give a bit more detail?
- JimCarryCommunity Member
Hi John,
I've integrated three distinct question slides where users can input their answers. Upon completing the quiz, I've included a "Download Answers" button. Clicking this button triggers a download of a PDF containing the questions and answers. However, as I've utilized variables for tracking, I've encountered a suspended data limit issue when attempting to accommodate additional questions.