Question T15834
Visible to All Users

Filtering rows based on dropdown value selected

created a year ago

Hi Jane and Support Team,

I need to create attached checklist in SurveyJS.
Station drop down contains list, based on value selected by user, it should filter image rows for selected value only.
Please check attached pdf for details.
How to do in SurveyJS?.

Thanks,

Comments (3)

    Hi Rathinam,
    Thank you for sharing this specification. While it is possible to display a Dropdown and a Matrix in a SurveyJS form, it maybe somehow difficult to perform the following tasks while using the GUI-based Survey Creator.

    • To display images in matrix cells.
      Survey matrices are basically designed to allow users to enter data. While as far as I can see from your demo, your table looks like a standard data grid.

    • To filter matrix by a selected drop-down value.
      SurveyJS matrices do not basically support filtering. Matrices are designed to gather user input rather than to display data from a specified data source. At this point, matrix rows to not basically contain a key by which they may be filtered.

    Surely, it would be possible to filter out a matrix and programmatically hide unnecessary matrix rows when a Dropdown value is changed. However, I believe it may be reasonable to consider an alternative.

    Would you please clarify why you are considering SurveyJS to achieve the goal? Do you expect users to enter data in form fields?

      Hi Jane,

      This requirement is similar to my previous question on shipkit checklist.
      If filtering is not possible, administrator can create this template using HTML , only allow last field "Verified By" to be updated by end users?.

      Because all of these checklists will be invoked from external platform , and pass parameters to SurveyJS URL.

      Please see page 4 of our requirements pdf.

      or can you schedule a call tonight ?. I will explain it

        Hello Rathinam,
        Thank you for the update. I created the following demo for your reference: View Demo. Please take your time testing it. Feel free to contact me if you have any further questions.