Copy link to clipboard
Copied
I am trying to create a set of flashcards to take a user to a random question and then another button to take the user to the answer. I have a PDF document with alternating questions and answers, about 400 pages in total. Any help would be appreciated.
Copy link to clipboard
Copied
Use this code in a MouseUp "run a JavaScript" action
this.pageNum = Math.round(Math.random()*this.numPages);