Closed tlakhtak closed 2 years ago
@sarithapillai8 I suspect this is due to #442? Is this expected behavior? If so, @tlakhtak, the guidance here would be to re-create the survey as it should work correctly then.
@avaidyam Yes this is expected behavior. First question is matrix type and there is no preceding type, it will render as text. If the first question is rating and next is matrix, then it will show as matrix with rating options.
This implementation is not very clear or obvious without this comment, unlike the other survey types. I was only able to make a matrix survey following the instructions provided above, and I have some follow up questions after receiving the following output.
@tlakhtak Please provide the survey details to understand how you created your questions. https://github.com/BIDMCDigitalPsychiatry/LAMP-platform/issues/442#issuecomment-1029194134 Please have a look at this for understanding how to create matrix questions.
The star is not in red so it is not clearly indicating that it is a required question.
I can check and update this.
The star is not in red so it is not clearly indicating that it is a required question.
This is fixed and updated in dashboard-staging.
This should not have broken backwards compatibility for previous matrix questions, as this creates serious implementation issues.
@tlakhtak @sarithapillai8 Going forwards our team will be strict about any kind of data format or API change that affects implementation and compatibility across sites. Anything JSON/API related must be shared in full detail and approved by myself and @lukeoftheshire before merging into staging.
We found an issue with all of the matrix surveys on the LAC version of the dashboard after they updated to the latest version (2022.4.23). See images below. All of the matrix surveys turned into text boxes
All of the questions on the matrix surveys disappeared: