multiple choice form: recording category for numerous response options?
Perhaps this is a simple problem, but I cannot find a solution in the manual.
Background: I have a multiple choice form with five possible responses, and importantly, the responses change for each trial. For the five possible responses, two of the responses represent one category (e.g., "1a", "1b" below), two of the responses represent a second category (e.g., "2a", "2b" below), and one of the responses is a distractor (e.g., "dist" below).
For the sake of example, category 1 presents words for fruit, category 2 presents words for meat, and distractor is a drink. So for trial one, this might be:
[1a] = apple
[1b] = pear
[2a] = sausage
[2b] = steak
[dist] = wine
For trial two, the response options change (e.g., 1a = orange, 1b = grapefruit, 2a = prosciutto, etc.). And so on for each trial.
Issue: The response that is logged is the word that is presented: if a participant responds by selecting the variable [1a] for trial one, the recorded response ("form_response" in the csv file) is "apple" ... not "1a". Ideally, since 1a/1b, etc., represent a category across all trials, I would also like to have the category logged (e.g., "fruit").
Question: How would I go about recording both the word and the category?
Running: OpenSesame 3.3.3 Lentiform Loewenfeld on Linux Mint 19.3 "Tricia".