Welcome, Guest
Username: Password: Remember me

TOPIC: set operations in array filters

set operations in array filters 10 months 1 week ago #100661

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 142
  • Thank you received: 5
  • Karma: 5
q1 and q2 both have same answer options having codes (1,2,3,4,5). Code 5 is exclusive. q2 have array filter (q1).Now I want code 5 should always show at q2 and other codes filter from q1.How can I do this?
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.

set operations in array filters 10 months 5 days ago #100705

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4117
  • Thank you received: 760
  • Karma: 346
I think if you give the last option a different code in Q2 it should work.

Q1 codes - 1,2,3,4,5

Q2 codes - 1,2,3,4,99
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.

set operations in array filters 10 months 5 days ago #100714

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 142
  • Thank you received: 5
  • Karma: 5
Thanks, but I can not alter the codes. There should be someway to override default filtering..
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image