LimeSurvey: End URL Expression Error

When I add Expression in Lime Survey the String value gets converted to Variable and I get Undefined Variable inplace of URl:

Here is the Expression Value that I am using in the END URL field

{if(INSERTANS:572915X1X3 == 'IND','http://google.com', if(INSERTANS:572915X1X3 == 'SIN','http://facebook.com' ))}

But it is not rendered like this, all the quotes are stripped when i save it and the string gets converted to variable.

The End Page Link is rendered like this

This is the expression when saved


Source: regex

Leave a Reply