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

give warning when an answer's award depends on its submitted response #244

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

dqnykamp
Copy link
Member

@dqnykamp dqnykamp commented Oct 11, 2024

This PR creates a warning if one writes an answer such as

<answer name="ans">
    <mathInput />
    <award><when>$ans</when></award>
</answer>

where the award depends on the answer's submitted response.

Creating such an answer is an easy mistake when learning DoenetML, but it leads to requiring that one submits an answer twice before it is properly validated.

@dqnykamp dqnykamp merged commit 578e6f1 into Doenet:main Oct 12, 2024
3 checks passed
@dqnykamp dqnykamp deleted the award-submitted-response-warning branch October 12, 2024 01:07
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

Successfully merging this pull request may close these issues.

1 participant