Hide columns in side-by-side when piped data from another field is blank | XM Community
Skip to main content
Solved

Hide columns in side-by-side when piped data from another field is blank

  • September 13, 2024
  • 2 replies
  • 41 views

Forum|alt.badge.img+1

Is there a way to hide columns in a side-by-side question when the column header is blank?  Each column header uses piped text from a prior question in the survey.  

 

 

Also, is there a way to show column borders when taking the survey as the current view doesn’t have them?

 

Best answer by rondev

Use the below CSS in question HTML view to get borders for header:

<style>
.column-header-wrapper{
   border:1px solid black;
}
</style>

Use can add display logic to only show those headers which are not empty.

View original

2 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • Answer
  • September 14, 2024

Use the below CSS in question HTML view to get borders for header:

<style>
.column-header-wrapper{
   border:1px solid black;
}
</style>

Use can add display logic to only show those headers which are not empty.


Forum|alt.badge.img+1
  • Author
  • 2 replies
  • September 15, 2024

Thank you!


Leave a Reply