For reference point, if anyone has not yet tried to do inline styling, here is what a basic two factor (testing for two personality traits) last page report might look like:
Code:
<div style="border-radius: 25px;border: 2px solid #73AD21;padding: 20px;">
{join(
if(VAR_adaptability>27,join(
'<span style="font-weight',
':',
'bold;">',
'ANXIETY - Your score is: ',
VAR_anxiety,
'</span>',
'<br />',
'<span style="font-style',
':',
'italic;">',
'A brief description.',
'</span>',
'<br />',
'<span style="font-style',
':',
'font-size:16px;">',
'Another supplementary description.',
'</span>',
'<br /><br />'
),''),
if(VAR_anxiety>27,join(
'<span style="font-weight',
':',
'bold;">',
'ANXIETY - Your score is: ',
VAR_anxiety,
'</span>',
'<br />',
'<span style="font-style',
':',
'italic;">',
'A brief description.',
'</span>',
'<br />',
'<span style="font-style',
':',
'font-size:16px;">',
'Another supplementary description.',
'</span>',
'<br /><br />'
),''),
)}
</div>
Please note that it is spaced vertically like that for "maintainability" as developing a somewhat complicate survey requires that the actuall expression script be documented somewhere and made easy to update + copy paste back into the web interface.
However, if you pay attention to the substantial amount of apppend required for the join to to create the proper <span style=".."> tags without triggering parsing errors in Limesurvey makes something like this EXTREMELY unwieldy.
This is a live example of WHY I wanted to just shove a whole bunch of html tagged content into an Array Text question and then just be able to do VAR_item to have it display properly. That would be much easier to maintain.
For any noobs out there looking for examples on how to use join in a slightly more complicated way, this example here is pretty good. It is based on the example from this page: