I'm attempting to create a note question type that displays all items from a choice list that have not been selected in a repeat. I have no problem building a string containing all items that have been selected. Is there a way to access either the entire list? I am open to writing it into a JS function if possible.
Solved! Go to Solution.
Hello @JohnHuillery1,
This can likely be accomplished using a JavaScript function. When you select a choice in a repeat and pass that question into your JavaScript function it will be in an array. What you can probably do is hard code an array of all your choice list values in your JS function and then compare the array of selected values to the full array and then return the values that do not have matches.
Please see this link for a potential workflow that can help achieve this.
Hello @JohnHuillery1,
This can likely be accomplished using a JavaScript function. When you select a choice in a repeat and pass that question into your JavaScript function it will be in an array. What you can probably do is hard code an array of all your choice list values in your JS function and then compare the array of selected values to the full array and then return the values that do not have matches.
Please see this link for a potential workflow that can help achieve this.
This is pretty much the approach I ended up going with. It works but it's not great for lists that change often.