The Challenge
Panelists evaluate 4 samples (AC, BC, CC, DC) in a repeat loop.
Each time, they:
- Click “+” to start a new evaluation section,
- Select the sample code in front of them
The ideal is that each sample is selected once only.
But Kobo allows them to re-select a previously chosen sample (e.g., select “CC” twice) in another repeat loop, which is wrong.
The Goal
Prevent panelists from selecting any previously evaluated sample in the next repeat.
If they try, Kobo should hide that option or show an error message like:
“You have already evaluated this sample.”
Solution in simple terms.
- Every time a sample is selected, it should be added to a list of “used samples.”
- The next time the panelist opens (click on the “+” sign to create another repeat loop) the “select sample” question, the used samples won’t appear.
Below is my script flow;
1. Panelist Profile
Q1 – Select your name (from the 20 names you provided)
Q2 – Age
Q3 – Contact Number
2. Product Evaluation (Repeat Section)
Question loop “Select the sample code in front of you → choices: AC, BC, CC, DC”
- At first, all sample code displays (in the first repeat loop)
- Second repeat loop (Samples already evaluated should be hidden dynamically)
Then follow the parameter questions:
- Q1 - Q12 = Taste (Likert scale), Aroma (Likert scale), Flavor (Likert scale), Flavor Intensity (Jar), Texture (Jar), Salt (Jar), Pepper (Jar), Stickiness (Jar), Aftertaste (Likert scale), Color (Jar), Appearance (Jar), Overall Likeability (Likert scale).
Threshold for Likert Scale;
Dislike Very Much = 1
Dislike it =2
Neither like/Nor Dislike = 3
Like it = 4
Like Very Much = 5
Threshold for Jar Scale:
Very Strong = 1
Strong = 2
Just Right The Way I Want It = 3
Weak = 4
Very Weak = 5
Relevant for Q12a. & Q12b.
${overall_likeability} = ‘4’ or ${overall_likeability} = ‘5’
${overall_likeability} = ‘1’ or ${overall_likeability} = ‘2’
1 & 2 for dislikes threshold
4 & 5 for likes threshold
- Dynamic labels (e.g., “How much do you like the taste of this sample? (${sample_code})”)
- Follow-up questions (Q12a. likes & Q12b. dislikes after Overall Likeability)
- Flavor recall question for Q13
Preference Section
Q14 – “Which of these samples do you prefer overall?” lists only evaluated samples
Q15 – “Why did you prefer this product?” shown only if Q14 is answered
Facts to be noted:
When panelists complete their four evaluations (one for each sample) and try to click the “
” again, I would prefer Kobo to show a message like: “You’ve evaluated all samples, please proceed to the next section,” which is the “Preference Section.”
-
variable name =
sample_codeTracks all previously chosen samples inside the repeat -
4 sample codes = AC, BC, CC, DC
-
preventive filtering logic to avoid duplicates (Dynamically hides those from the “Select sample code” dropdown when they add a new repeat)
-
The question where panelists select the sample in front of them has
label: *Select the sample code in front of you
I went to this length to note all this down.* I currently do not have access to add attachments because I am a new joiner.
