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

Require users to answer questions when allow_skip = FALSE #505

Open
gadenbuie opened this issue Mar 4, 2021 · 1 comment
Open

Require users to answer questions when allow_skip = FALSE #505

gadenbuie opened this issue Mar 4, 2021 · 1 comment
Projects

Comments

@gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Mar 4, 2021

As pointed out on RStudio Community, the allow_skip = FALSE option only applies to exercises and does not include questions.

In the learnr documentation, it is clear that by default learners must complete exercises before continuing, and there is the option to disable this globally or by chunk with allow_skip .

By default, it seems as though questions can be skipped. Is there any way to require completing questions before continuing?

// if the section has exercises and is not complete, don't skip - put up message
if (section.exercises.length && !section.completed && !section.allowSkip) {

Requiring users to answer a question when allow_skip = FALSE seems like a reasonable expectation.

@acastleman
Copy link

@acastleman acastleman commented Feb 2, 2022

I would also find this feature very helpful.

Currently putting a 4 digit number in the question's correct answer message for the students to put in an exercise to achieve the intended effect of limiting progression. But this is tedious for students.

Thanks.

@gadenbuie gadenbuie added this to Backlog in v0.11.0 Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
v0.11.0
Backlog
Development

No branches or pull requests

2 participants