Forum Academy Marketplace Showcase Pricing Features

Repeating Group Items: Show in list

Hi,

I have a page set up where a user can select a recipe from a dropdown, then add ingredients to it like so:

I can add and remove ingredients from the recipe by having the user click on the “Add” or “Remove” button and display these in a table below like so:

image

However, I would like my RG to show ingredients in a list and only from the recipe selected in the dropdown. So when I choose Banana Bread for example, I would like the output in my RG to be:

Sugar
Flour
Cream

With the title of the recipe displayed to the left.

How can I do this? My data types are quite simple:

image

image

My RG is set up like so:

image

image

Have another field “Recipe name” in “Ingredient” datatype, which holds Recipe name that particular ingredient belongs to. Set Repeating Group ingredients Data source to “Search for Ingredients: Recipe name=Dropdown Recipe’s value”.

@maheshkasindi thanks so much!

So I added it like so:

image

Is that correct?

Because when I try to search for Receipe name = Dropdown Recipe value, it is greyed out?

image

image

You figured it out?

Unfortunately not. I changed the Recipe name to type text and I didn’t get the error anymore.

image

image

But what goes in the text cell to display each ingredient in the recipe? I have current cell’s ingredient’s name but nothing shows.

image

The problem could be the recipe name. When an ingredient is added to a recipe, the name shows up correctly in the table:

But what happens when an ingredient is added to another recipe?

How can I get the receipe name to show multiple, such as Banana Bread, Creamy Chicken if say ingredient flour is added to both?

My workflow for adding a new ingredient is:

image

Is there a way to add the recipe name, rather than replace it?

@maheshkasindi any ideas as to how I can fix this?

Make “Recipe name” type “List of Recipes”. When an ingredient is added, Create new ingredient and add that recipe to the list of recipes of that ingredient. While searching, Search for Ingredients: List of recipes contains Dropdown Recipe’s Recipe

@maheshkasindi - I changed the type to list of recipes:

image

In my workflow, I have this:

image

image

Should I add another action?

I tried to add this:

image

But I don’t have an option to add the list of recipes.

What am I doing wrong?

If you don’t mind sharing the editor with me, I can fix it for you. Pm me

This topic was automatically closed after 70 days. New replies are no longer allowed.