Created new article Cascading Select Multiple#296
Open
Kalyan-Lama wants to merge 4 commits intomasterfrom
Open
Created new article Cascading Select Multiple#296Kalyan-Lama wants to merge 4 commits intomasterfrom
Kalyan-Lama wants to merge 4 commits intomasterfrom
Conversation
joshuaberetta
requested changes
Oct 5, 2022
Member
joshuaberetta
left a comment
There was a problem hiding this comment.
@Kalyan-Lama, sorry for the major delay in reviewing this! I started to make some edits but then saw that there's a simpler way to create this form that's easier to understand, based on the example I once made here in the forum. Could you please update the article with the following XLSForm — either to replace the one you've used or as an example of an alternative way of achieving the same outcome.
## survey
| type | name | label | choice_filter | relevant | required |
| ------------------ | ---- | ----------------------------------- | -------------------- | --- | --- |
| select_multiple Q1 | Q1 | Q1. Select all that applies from Q1 | | | true |
| select_multiple Q2 | Q2 | Q2. Select all that applies from Q2 | contains(${Q1}, ref) | ${Q1} != '' | true |
## choices
| list_name | name | label | ref |
| --------- | ---- | --------------- | --- |
| Q1 | 1 | Choice 1 for Q1 | |
| Q1 | 2 | Choice 2 for Q1 | |
| Q1 | 3 | Choice 3 for Q1 | |
| Q2 | 1 | Choice 1 for Q2 | 1 |
| Q2 | 2 | Choice 2 for Q2 | 1 |
| Q2 | 3 | Choice 3 for Q2 | 2 |
| Q2 | 4 | Choice 4 for Q2 | 2 |
| Q2 | 5 | Choice 5 for Q2 | 3 |
| Q2 | 6 | Choice 6 for Q2 | 3 |
## settings
| form_title |
| ------------------------------------ |
| Cascading a Select Multiple Question |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@joshuaberetta, I have created a PR for a new article. Could you kindly review and merge it with the master branch? Thank you!