Display logic on groups | XM Community
Skip to main content

Is it possible to do display logic on a group in a "pick, group and rank"-question? I can see, that it's possible on items, but can't seem to find it for groups.

No, there is no display logic for groups in a PGR. You can use JavaScript to hide groups.


Hi TomG,
I am a newbie in terms of Javascript. Can you give me an example of the code I would need to use to hide a group that has 15 items.
Thank you in advance


https://community.qualtrics.com/XMcommunity/discussion/comment/50639#Comment_50639Here is an example that hides the last group:
jQuery("#"+this.questionId+" .groupsContainerTd Group").last().hide();


Thank you TomG for looping back on the thread to provide another single line custom code solution! 👏


Leave a Reply