Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to turn off answers RANDOMization? #87

Closed
awsfreakpl opened this issue Sep 27, 2022 · 4 comments
Closed

Is there a way to turn off answers RANDOMization? #87

awsfreakpl opened this issue Sep 27, 2022 · 4 comments

Comments

@awsfreakpl
Copy link

First of all - great add-on - it helped me a lot - great job. Question: I am trying to figure out if there is a way to turn off answers randomization. I have a scenario where the order of answers is essential. Could you please advise? Thanks.

@zjosua
Copy link
Owner

zjosua commented Sep 27, 2022

On the front template of the AllInOne card, comment out the shuffle instruction: replace qanda = shuffle(qanda); with // qanda = shuffle(qanda);.

If you only want a part of your MC notes without randomization, duplicate the note type first and only edit the new one.

@n30s4m
Copy link

n30s4m commented Aug 28, 2023

There is no such field, there is only an add-on that has up to 12 questions. What chaos!
In the one with 5 questions, the option to edit the colors appears, but in the one with 12 questions, it does not appear. What chaos!

@ileandromendes
Copy link

Hello! Please, could you add some printscreens regarding how to disable shuffling?I’ve tried add the comment on code but doesn’t work.
Thx!

@zcccccc1
Copy link

zcccccc1 commented Oct 7, 2024

On the latest addon version, change the front template code

let shuffledQuestionTableHtmlLinesToSolution = getShuffledQuestionTableHtmlLinesToSolution(
            questionTableHtmlLinesToSolution, type, OPTIONS['maxQuestionsToShow']);

to

let shuffledQuestionTableHtmlLinesToSolution = questionTableHtmlLinesToSolution;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants