empty cell in loop | XM Community
Skip to main content
Question

empty cell in loop

  • January 7, 2022
  • 2 replies
  • 10 views

Forum|alt.badge.img

Hi
I am using loop and merge for answers of a multi-choice question. some questions has 2 answers, some other has 4 or 5 answers. the question I created in the survey has initial 5 answers. therefore, loop and merge takes empty cell as answers for the questions sometimes which does not look professional. How I can change the code to ensure that when the cell is empty, it does not show in the question.

2 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • January 7, 2022

Use JS to check if any option label is empty then hide it.


Forum|alt.badge.img
  • Author
  • January 7, 2022

Thanks but I am hopeless in coding. How can I do that?