Ask the community, share ideas, and connect with other LimeSurvey users!
Confirmation mail text (in HTML) {if((pg12)=='N','<br/><br/>- - - -<br />Here I want to write some text and on the next line a link.<br /> <a href="https://www.toolsforresearch.com">Click here!</a><br /> - - - -',' ')}
Isn't that what the "pop-up" mode of the editor does? By default you see the source code view but can click the pencil icon to open the editor?!jelo wrote: I think a tab with html/plain which switches between the Editor and a simple form would work.
That is correct, but the question is what happens in LS afterwards. Why was disabling the HTML editor recommended instead of just using the other view? We once had a "smart ass" filtering in the EndURL field, where no editor was involved. When using EM sometimes the whole URL got messed up. Since there was no bug report there might be no bug at all.Mazi wrote: Isn't that what the "pop-up" mode of the editor does?
Good idea. I remember doing just that to workaround the issue with the filtered EM code inside the EndURL field.tpartner wrote: Tammo, try placing the variable text in an equation question and then reference that question in the email.
If it works the issue is not with the editor itself but with the php code handling the EM stuff.tammo wrote: Great idea. I even works!
Try with htmlentities() and html_entity_decode(), something like this post - www.limesurvey.org/forum/can-i-do-this-w...ge-won-t-load#141000But still struggling with HTML, though: replacing equation text in the mail works, but HTML tags are lost.