- Posts: 112
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
array filter with one-to-many relationship
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
7 years 4 months ago #145830
by stevelegare
array filter with one-to-many relationship was created by stevelegare
Hi,
Is there a way to do an array filter with a one-to-many relationship?
Question 1
-Article 1
-Article 2
Question2
-Ref 1
-Ref 2
-Ref 3
-Ref 4
The user choose "Article 1" and "Ref 2", "Ref 4" is showing.
The user choose "Article 2" and "Ref 1", "Ref 2", "Ref 3" is showing.
Thanks
Is there a way to do an array filter with a one-to-many relationship?
Question 1
-Article 1
-Article 2
Question2
-Ref 1
-Ref 2
-Ref 3
-Ref 4
The user choose "Article 1" and "Ref 2", "Ref 4" is showing.
The user choose "Article 2" and "Ref 1", "Ref 2", "Ref 3" is showing.
Thanks
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13624
- Thank you received: 2490
7 years 4 months ago #145847
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic array filter with one-to-many relationship
See
manual.limesurvey.org/Adding_answers_or_subquestions
(Relevance)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
7 years 4 months ago #145974
by stevelegare
Replied by stevelegare on topic array filter with one-to-many relationship
Thanks for your guidance but I will do it in JavaScript.
Too much conditions to check.
Too much conditions to check.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13624
- Thank you received: 2490
7 years 4 months ago #145976
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic array filter with one-to-many relationship
You have to test exactly same condition in javascript .....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.