&lt;div&gt;##FOREACHvalidations##&lt;/div&gt;&lt;p&gt;##IFvalidation.storestatus=2##&lt;/p&gt;&lt;div&gt;##validation.submission.title##&lt;/div&gt;&lt;div&gt;##lang.validation.commentsubmission## : ##validation.commentsubmission##&lt;/div&gt;&lt;div&gt;##ENDIFvalidation.storestatus##&lt;/div&gt;&lt;div&gt;##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;div&gt;##lang.ticket.url## : &lt;a href="http://lab.sq.synairgis.net/plugins/formcreator/front/issue.form.php?id=##ticket.id##&amp;sub_itemtype=Ticket"&gt;Ticket&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status## &lt;br /&gt;##IFvalidation.commentvalidation##&lt;br /&gt;##lang.validation.commentvalidation## :   ##validation.commentvalidation##&lt;br /&gt;##ENDIFvalidation.commentvalidation## &lt;br /&gt;##ENDFOREACHvalidations##&lt;/p&gt;