- Posts: 25
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Nice, so we can use something like:DenisChenu wrote: I think it's an uneeded feature : you already have a lot of solution to show different page depend on an attribute
Use body class="{TOKEN:ATTRIBUTE_1}" for example.
But you can make a feature request if you really need it
<body id="body" class="{TOKEN:ATTRIBUTE_1}">
{if(TOKEN:ATTRIBUTE_1=="phone","<dl>","")} {if(TOKEN:ATTRIBUTE_1=="phone","<dt>Name of person</dt>","")} {if(TOKEN:ATTRIBUTE_1=="phone","<dd>TOKEN:LASTNAME</dd>","")} {if(TOKEN:ATTRIBUTE_1=="phone","</dl>","")}
<div {if(TOKEN:ATTRIBUTE_1!="phone","style='display:none'","")}> <p>Any content you can hide/show</p> </div>
Wasn't there a way to dynamically change template during interview? Wasn't there something with templates from Mazi, where there is a normal and mobile optimized template. And at the beginning of the interview the template is chosen. I have no working example. So I might be wrong.DenisChenu wrote: Not actually