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

Forced/Required Response Feature #56

Closed
TutiGomoka opened this issue Nov 26, 2021 · 4 comments · Fixed by #64
Closed

Forced/Required Response Feature #56

TutiGomoka opened this issue Nov 26, 2021 · 4 comments · Fixed by #64

Comments

@TutiGomoka
Copy link
Contributor

(This is a feature that we may not require at the moment as we run our own surveys. But we may need it once we start running other people's surveys) But:

  • Implement a feature where we can choose to either force a respondent to respond to a question or leave it as optional
  1. Question on what the system should do if a respondent hasn't answered a 'forced response' question? Just prevent from submitting?
@markwhiting
Copy link
Member

Required is already implemented for all questions by default as a server level setting.

What I think would be useful here is something like an optional column in CSVs called required that defaults to the server value when blank, but can take values of true or false to select if a field is required or not.

@karansampath
Copy link
Member

I think we would need to reconcile this with the overall required check that we already have in place. i.e. Do we want both overall and individual required variables? If not, how would we indicate survey-wide required characteristics (is it useful to have any disclaimer if no questions are required?). I've modified the code to include my interpretation of this, but let me know if it needs changes.

@karansampath karansampath linked a pull request Dec 13, 2021 that will close this issue
@markwhiting
Copy link
Member

markwhiting commented Dec 13, 2021 via email

@karansampath
Copy link
Member

Yes exactly, so each question is required unless specified (will take on that value in that case (i.e. either true or false)).

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 a pull request may close this issue.

3 participants