Line return with EM function

More
5 months 4 weeks ago #153202 by jltrussart11
jltrussart11 created the topic: Line return with EM function
Hi,


I'm trying to optimise the layout of a report with EM function. I'm looking towards to add line returns to the report.


1) Is their a way to add a line return <br> in a LIST function or the data can only be separated by a coma?

I use this fonction {list(that.EngagementInteractiv .shown,EngagementInteractiv _other.NAOK)}


2) In a IF function I actually use a join function to display an string (SQ002 example). I would like to add each data in a html list. I can't manage to use htmlentities or html_entity_decode to use an <li> or an <br>
 
<ul>
{if(Local_SQ001.NAOK == 'U',join(html_entity_decode('<li>'),"Le mobilier où seront assis les participants peut être facilement déplacé.",html_entity_decode('</li>')), "")}{if(Local_SQ002.NAOK == 'U',join("Le local est équipé d'outils de diffusion vidéo (exemple: projecteur ou téléviseur) qui permettront aux gens de bien voir la présentation."), "")} 
</ul>
 

Thans for your precious help!

Please Log in to join the conversation.

More
5 months 3 weeks ago #153525 by jltrussart11
jltrussart11 replied the topic: Line return with EM function
Anybody have an idea to manage the lines returns?

Thanks in advance for your precious help!

Please Log in to join the conversation.

More
5 months 3 weeks ago #153527 by Ben_V
Ben_V replied the topic: Line return with EM function

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: jltrussart11

Please Log in to join the conversation.

More
5 months 3 weeks ago #153528 by jltrussart11
jltrussart11 replied the topic: Line return with EM function
Thanks a lot! I will take a look to this thread!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now