- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<a href="https://website.com/day.php?year={date('Y',strtotime(oneoffdate))}&month={date('m',strtotime(oneoffdate))}&day={date('d',strtotime(oneoffdate))}&area=3">LINK</a>
<span id="LEMtailor_Q_238_64">1970</span>
Only if oneoffdate is on same page , no ?holch wrote: But there is more going on. The EM codes work fine when outside of HTML, but when placed within the link, they get substituted by spans.
<a id="toto" name="toto">The link</a> <span id="totolink" style="display:none">https://website.com/day.php?year={date('Y',strtotime(oneoffdate))}&month={date('m',strtotime(oneoffdate))}&day={date('d',strtotime(oneoffdate))}&area=3</span> <script> $("#toto").on("click",function(){ window.location.href=$("#toto").text(); }); </script>
2015 or 2015