How to modify the header and footer for a specific question block within a survey. | XM Community
Skip to main content
Question

How to modify the header and footer for a specific question block within a survey.

  • August 25, 2024
  • 1 reply
  • 260 views

Forum|alt.badge.img

I am trying to modify the header and footer for an optional block (demographic questions) within my survey. Is there a way to modify it just for that block? Every time I try it changes the header and footer for the whole survey. 

1 reply

chackbusch
QPN Level 5 ●●●●●
Forum|alt.badge.img+22
  • QPN Level 5 ●●●●●
  • 415 replies
  • August 26, 2024

@aogbeide You can modify the header and footer with JavaScript. You could e.g., overwrite it in the addOnReady methods of the questions of the relevant block. In the questions before and after you would need to apply the original header. Might be that there is an easier option with CSS as well but it depends on what exactly you want to adjust. A third option is to work with embedded data and piped text, see here.