I am trying to creating a MaxDiff exercise where the first question set displays the full version of the exercise's question text and later question sets displaying the shortened version of the question text.
My first attempt in displaying the correct text is to set up pipe-in logic with Perl which checks the current set number via MAXDIFFCURRENTSET() and outputs the full version if it equals 1 and the shortened version if otherwise. (Shown below is the code in the MaxDiff question's QText Header 1)
However, on the first set (expectedly $current=1), it appears the code outputted the else result, causing the shortened version of the QText to appear instead of the full version.
My second attempt, currently being used right now, is to set Text questions above each question set which contains the correct QText to display, leaving the QText (Header 1) in the MaxDiff question blank. This was recommended by the Sawtooth Software documentation: https://sawtoothsoftware.com/help/lighthouse-studio/manual/maxdiff-question-and-label-text.html . However, this would cause unnecessary spacing between the text and the current set text:
What would be a good solution to output the correct QText for each question set? I am particularly interested in running pipe-in logic, like the first attempt.