Welcome to the LimeSurvey Community Forum

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

Use limesurvey for ticketing systems to submit feedback

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 8 months ago #243088 by DenisChenu
It's what the lss do …
BUT : remind to use Newtest=Y when you test yourself : we don't update current session when prefilling

Start with newtest=Y&TicketID=123 : OK
Start again with newtest=Y&TicketID=123 : KO

I'm tired now … you must try yourself more …

Look at the data in LimeSurvey: you don't have TicketID=0002 data set when you test without newtest=Y

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: eavenhuang

Please Log in to join the conversation.

  • eavenhuang
  • eavenhuang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #243089 by eavenhuang
Thanks a million Denis, YOU SAVE MY WEEK! this works just like a charm!
I was struggling with this case for the whole week, even after work hours. This forum is also amazing and more than helpful!

Thanks again and I will spend more time to study this amazing limesurvey:)

Please Log in to join the conversation.

  • eavenhuang
  • eavenhuang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #243090 by eavenhuang
Dear Joffm,

With the help from Denis, I've solved the issue mentioned in this topic. I didn't think about using a new question to screen out could be a solution:(

Thanks again for all your help, it means a lot! Cheers.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago - 1 year 8 months ago #243091 by Joffm
Well, again the workflow:
1. You want to screen out respondents who already submitted the survey with this TicketID
2. Of course you screen out respondents who use a link without these additional parameters (what may give an answer to your other question)

To do this you use "quotas" with limit "0" 
[url] www.limesurvey.org/manual/Survey_quotas/en [/url]

You can set a quota on an equation, but you have to create a well defined value.

To do this you use the IF-function. As you read in the manual
[url] www.limesurvey.org/manual/ExpressionScri...mplemented_functions [/url]
This function works like human language: if(test,result_if_true,result_if_false)
"IF the sun is shining (condition) I jump into the swimmingpool (what happens if the condition is TRUE) otherwise I read a book (what happens if the condition is FALSE)


In your case "IF the function 'statCountif' returns 0, set the value of the equation to 0 ELSE set the value to 1"
Now you have a condition for the quota "if equation==1" --> screenout.

The same to test if there were any additional parameters in the URL.
Here you may use the function "is_empty"
IF the question "TicketID" is empty, set the value of the equation to 1 ELSE set the value to 0"
Again you have a condition for the (second) quota "if equation==1" --> screenout.


So the survey could look like this


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 8 months ago by Joffm.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #243092 by Joffm
And here the lss
 

File Attachment:

File Name: limesurvey...04-3.lss
File Size:44 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: eavenhuang

Please Log in to join the conversation.

  • eavenhuang
  • eavenhuang's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #243272 by eavenhuang
Thanks a lot our expert! this is brilliant!

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose