Closed ilaplain15115 closed 5 months ago
Hello @ilaplain15115, From what I gather, you wish to show/hide a question if any column(row) within a Dynamic Matrix receives a specific value.
Survey expressions only allow accessing Dynamic Matrix rows by their index. Unfortunately, it is impossible to refer to 'any' row value. As an option, consider registering a custom function which would check whether any matrix row contains a specified value.
Should you have any further questions, please let me know.
Can the custom function rowsWithValue() be used to reference a dynamic matrix?
Are you requesting a feature, reporting a bug or asking a question?
Is it possible to derive logic in a dynamic matrix for a row that has not been added yet?
What is the current behavior?
Currently logic only operates on the initial visible row/observation (1) in the dynamic matrix but not for rows/observations (2+) that are added in the matrix.
What is the expected behavior?
Ideally the logic would apply for the initial row in the dynamic matrix and all subsequent rows that are added.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your
GIT Hub- EAudit Specs browser: Chrome browser version: 119.0.6045.160 surveyjs platform (angular or react or jquery or knockout or vue): Angular surveyjs version: 1.9.112