I’m working on a website for my recipes, and could really use your help. I am pretty comfortable with many of Wix’s features, but I’m brand new to coding.
My request for help revolves around the coding for several checkboxes. Each checkbox would identify an ingredient found in at least one of the recipes. When checked, the code would hide a recipe from the repeater if that particular ingredient is in that particular recipe. I’m starting with about 50 recipes for now, but will expand the list in the future.
Here’s an example of what I’m hoping for the dataset to look like (please note that this is just a simple example, not my actual recipes, haha):
• Title Row: (Cell 1) recipeName, (Cell 2) recipeIngredients
• Recipe Row 1: (Cell 1) Strawberry-Banana Smoothie, (Cell 2) Strawberry, Banana, Yogurt, Water, Ice, Spinach
• Recipe Row 2: (Cell 1) Shrimp Cocktail, (Cell 2) Shrimp, Lemon, Horseradish, Tomato, Hot Sauce
• Recipe Row 3: (Cell 1) Club Sandwich, (Cell 2) Bread, Turkey, Ham, Bacon, Lettuce, Tomato, Mayo
Here’s an example of the checkboxes:
• Hot Sauce
As you can see, the list of ingredients can be very different from one recipe to another. If it’s possible, I’d really love a solution that allows me to write the recipe’s ingredients in a single cell, that is filtered by checkboxes (and it would be even better if I didn't have to code each checkbox individually, but I'll take anything at this point).
Any time that you can spare to assist me is greatly appreciated; thank you so much!