- Posts: 74
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
{if(Q1==1,"https://google.com")}
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ $('.completed-wrapper').hide(); if('{TOKEN:ATTRIBUTE_2}' != 'NA') { window.location.href = 'https://web-test.xxx.ch/index.php?r=survey/index&sid={SID}&token={TOKEN:ATTRIBUTE_2}&newtest=Y'; } else { $('.completed-wrapper').show(); } }); </script>
{if(Q1 lt 1,"https://example.com")}