Make matrix questions mandatory (ie via isRequired)
See original GitHub issueAre you requesting a feature, reporting a bug or ask a question?
Question
What is the current behavior?
When I mark a matrix as isRequired, I can go through without filling out all the options
What is the expected behavior?
Hopefully, I can’t go to the next page until all questions are answered correctly
How would you reproduce the current behavior (if this is a bug)?
Make a matrix as isRequired and then click to the next page before they’re all filled
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here
Specify your
- browser:
- browser version:
- surveyjs platform (angular or react or jquery or knockout or vue):
- surveyjs version:
Is there a way to do this? Couldn’t necessarily find anything in the documentation, I want the matrix questions to have to be answered before the user can go to the next page, the screenshot should be illustrative of what I’m trying to accomplish.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Add a Question to a Matrix Based Assessment - Protiviti
When creating a matrix-based question, you will choose the text and information for the scoped objects, and then choose the object fields that...
Read more >Matrix - Survalyzer Help Center
A participant is required to select an answer per row, once the box next to Force response (mandatory question) has been ticked. If...
Read more >Matrix questions - Novi Survey
Constrain the number of answers for a matrix question or make the matrix question 'required':. For each segment in a matrix, the number...
Read more >Mongoose: validation error path is required - Stack Overflow
log("Can't create new user: %s", err); } else { /* We succesfully saved the new user, so let's send back the user id....
Read more >Matrix of Services Handbook - Florida Department of Education
For scholarship students who do not have a matrix in accordance with s. 1011.62, F.S., the school district is required to “complete a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mrmayfield Sorry, that I did not come back early. I have forget to write a message here. There is already an option matrix.isAllRowRequired boolean, false by default.
Thank you, Andrew
@Lynn42 It is an another error type. You may change it as the following: Survey.surveyStrings.requiredInAllRowsError = “Your error text”; The default text is “Please answer questions in all rows.”, if you are using the default, “en”, locale.
Thank you, Andrew