- Posts: 74
- Thank you received: 1
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
- Topic Author
- Offline
- Banned
Less
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.
- fvanderstarre
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
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.
- fvanderstarre
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
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
- Topic Author
- Offline
- Banned
Less
More
- Posts: 74
- Thank you received: 1
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.
Attachments:
The topic has been locked.
- Winocll_48635
- Topic Author
- Offline
- Banned
Less
More
- Posts: 74
- Thank you received: 1
7 years 9 months ago #137877
by Winocll_48635
Replied by Winocll_48635 on topic If condition from token field not working
The topic has been locked.
- fvanderstarre
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
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.
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
- Topic Author
- Offline
- Banned
Less
More
- Posts: 74
- Thank you received: 1
7 years 9 months ago #137920
by Winocll_48635
Thank you so much!
Replied by Winocll_48635 on topic If condition from token field not working
Worked like a charm!use the "Do survey" icon in the token table
Thank you so much!
The topic has been locked.