Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

If condition from token field not working

  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
7 years 9 months ago #137854 by Winocll_48635
Replied by Winocll_48635 on topic If condition from token field not working
The topic has been locked.
More
7 years 9 months ago #137873 by fvanderstarre
Replied by fvanderstarre on topic If condition from token field not working
Can you upload the survey .lss file?
The topic has been locked.
More
7 years 9 months ago #137874 by fvanderstarre
Replied by fvanderstarre on topic If condition from token field not working
And did you check the survey logic file?
The topic has been locked.
  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
7 years 9 months ago #137875 by Winocll_48635
Replied by Winocll_48635 on topic If condition from token field not working
Here's the lss file.

File Attachment:

File Name: limesurvey...3156.lss
File Size:13 KB
The topic has been locked.
  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
7 years 9 months ago #137877 by Winocll_48635
Replied by Winocll_48635 on topic If condition from token field not working
I see no problems in the logic file. Here's what it looks like...
The topic has been locked.
More
7 years 9 months ago - 7 years 9 months ago #137898 by fvanderstarre
Replied by fvanderstarre on topic If condition from token field not working
Your lss file contained: "How do you like your state? {TOKEN:state}" which gave an error. After correction to ..{TOKEN:ATTRIBUTE_4} all was well (2.06 lts build 160129).
It is important when testing your survey repeatedly as an admin to add "/newtest/Y" to your survey url, like:
"[your.limesurvey.system]/index.php/survey/index/sid/353156/token/Pgg75Rp5mYiPrgX/lang/en/newtest/Y" (this is done by LimeSurvey when you use the "Do survey" icon in the token table.); Especially after making changes to your survey. Also clearing your browser cache might help.
Last edit: 7 years 9 months ago by fvanderstarre. Reason: additional info
The following user(s) said Thank You: Winocll_48635
The topic has been locked.
  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
7 years 9 months ago #137920 by Winocll_48635
Replied by Winocll_48635 on topic If condition from token field not working

use the "Do survey" icon in the token table

Worked like a charm!
Thank you so much!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose