Control Random Elements 2

We have a script at that creates maths questions of the form $a+$b. A user can select different questions to make up an assessment and then create a pdf.

I’d like it so that the user has a choice to create a pdf with exactly the questions they chose (ie the very same numbers) or a random version of the pdf. Right now the script delivers a random version of the pdf each time so need the exact version adding.

For example, the preview may show ‘what is the square root of 9’ The user should now be able to regenerate if they don’t like the number and the new question may be ‘what is root 25’. If the user adds this question then they should have the option of creating the pdf with this very same question.



Leave a Reply

Your email address will not be published.