Welcome, Guest
Username: Password: Remember me

TOPIC: Allow users to filter results displayed

Allow users to filter results displayed 2 years 3 weeks ago #86372

  • Brimfulof
  • Brimfulof's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I would like (non-logged in) users to be able to come to the site, search for results that match certain criteria and then have the matching results displayed. Is this possible?

I'll try to explain in more detail by way of an example:

Survey
Q1. Which organisation are you from?
Q2. How good is food in your canteen (radio buttons)?
Q3. How clean are your toilets (radio buttons)?
Q4. How good are transport links (radio buttons)?

Ideal process for displaying results
  1. User comes to website.
  2. User is asked: "Which organisation would you like to see results for?"
  3. User enters some text.
  4. Text is searched against answers to Q1.
  5. Matching answers to Q1 are displayed.
  6. User selects one matching answer.
  7. Results (graphs and text ideally) for Q2, Q3 and Q4 are displayed.

Simpler(?) process for displaying results
  1. User comes to website.
  2. User is asked: "Which organisation would you like to see results for?"
  3. User selects from list of all answers to Q1
  4. Results (graphs and text ideally) for Q2, Q3 and Q4 are displayed.
The administrator has disabled public write access.

Re: Allow users to filter results displayed 2 years 3 weeks ago #86411

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
LimeSurvey cannot do this, you will need to write custom PHP scripts to query the database and present the results.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Allow users to filter results displayed 2 years 1 week ago #86802

  • Brimfulof
  • Brimfulof's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thanks for the definitive response. Looks like I'm going to need to learn some PHP!
The administrator has disabled public write access.

Re: Allow users to filter results displayed 2 years 1 week ago #86827

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
Besides the additional coding to query the Db for certain search strings, you probably also need to code a custom report.
I have done this before for other customer, so if you are interested in such a feature, feel free to contact me at This email address is being protected from spambots. You need JavaScript enabled to view it..

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.116 seconds
Donation Image