Hi fellows,
I would like to know how to filter an array, according to the given answers.
I will explain it here:
First, I get an array of names (children names).
DO YOU HAVE CHILDREN?
NAME 1: John
NAME 2: Maria
NAME 3: Peter
NAME 4: Robert
NAME 5:
Then, I set an array of numbers with checkboxes to get particular information of every single subject:
SELECT WHICH OF YOUR CHILDREN ARE GOOD AT:
SPORTS MATHS ARTS LANGUAGES
JOHN selected: SPORTS
MARIA selected: MATHS
PETER selected: ARTS & LANGUAGES
ROBERT selected: SPORTS & LANGUAGES
Now I would like to get more information about each field, but filtering the rows. The problem is that I do not know what I have to choose in the Filter array option, and the question fills it with all the answers:
WHICH ARE HIS/HER FAVOURITE SPORTS?
FOOTBALL BASKETBALL RUNNING SWIMMING
JOHN should be shown here
MARIA should not be shown, but it does
PETER should not be shown, but it does
ROBERT should be shown here
Does anyone knows how to do it, please?
Thanks in advance to the LimeSurvey community!