Limesurvey在IF语句中连接字符串和令牌属性

时间:2017-03-16 17:13:41

标签: javascript php limesurvey

我想实现这个目标

{if(TOKEN:ATTRIBUTE_11=="CIB", "Note: this team is associated with the following ID(s): TOKEN:ATTRIBUTE_5,"")}

但这里出了点问题。我已为{}TOKEN:ATTRIBUTE_5运营商尝试.

1 个答案:

答案 0 :(得分:0)

试试这个:

{if(TOKEN:ATTRIBUTE_11=="CIB", join("Note: this team is associated with the following ID(s): ", TOKEN:ATTRIBUTE_5),"")}