- Posts: 14366
- Thank you received: 2592
Ask the community, share ideas, and connect with other LimeSurvey users!
It's my advice : didn't use an eaquation in end url, but create an equation questionasilbering wrote: What I was doing before (and was working fine in LS 2.05) was to direct to an equation question in the end url field ({myURL}) and then having an if clause in myURL.
This is not working in LS 3.19 anymore.
No …So your suggestion would be that :
1- I write an if clause in the end url field ({if(Q1 lt 1," example.com ")})
2 - and then the condition related to the attribute in the equation question Q1 ({TOKEN:ATTRIBUTE_2=="NA"})
{ if({TOKEN:ATTRIBUTE_2}!="NA","example.org/survey/212/token/"+{TOKEN}+"/val/"{TOKEN:ATTRIBUTE_2},""}
I was playing around quick with the end url field and equations and I wasn't able to make it work (within the end url field). Limesurvey did always subsitute parts of the equation (within the end url field directly) with some html code. This happened both, in the demo version and in my own installation.If it don,'t work on 3.19 : it's really a major issue and must be reported.
I say : use an equation … it work with an equation without any issue since 1.92 and still work on 3.19holch wrote:
I was playing around quick with the end url field and equations and I wasn't able to make it work (within the end url field).If it don,'t work on 3.19 : it's really a major issue and must be reported.
{join(if(!is_empty(Choose.NAOK),'https://'+Choose.shown+'/',''),if(!is_empty(Choose.NAOK) and !is_empty(Param.NAOK),'?param='+Param.NAOK+'/',''))}