Hi everyone. I’ve got myself stuck on a problem that feels like it should be quite simple.
I have a MealPlan tiddler, that contains fields name lunch-1, lunch-2, etc. The values of the fields are recipe tiddlers, which themselves contain a field called servings, which has an integer value.
I want to find out the total number of servings in my meal plan, stored in a variable so that I can use it to make other conditional decisions. In other words get the recipe title from each lunch-n field, then get the servings value for each of those recipes, and sum them.
I can get the field titles with {{{ [all[current]fields[]prefix[lunch]] }}}, but then I can’t figure out how to get the values of those fields! It seems like it should be simple but I’m drawing a blank.
Any help would be appreciated! 