Hello … I have a Vertical List pulling data from a database (the Bubble database). If I want to show, for example, the “title” of the items in the list, then, select that item, and have the message of the item displayed. Is that possible? Essentially, I’m selecting something to open and then seeing all the fields contained in the record.
Of course I guess you are doing Do a Search For and showing currentcell´title or parent group if a group exist then when you click it you can display that in a popup or show a hidden text containing the other field for example current cell´s description
Yes, it’s possible. In Bubble, set up your vertical repeating group to show the title of each item. Inside each cell, add a group or button that’s clickable.
On “When this group/button is clicked”, use a workflow to either:
-
Show a popup, and set the popup’s data to “Current cell’s item”, then use text elements in the popup to display all fields (message, description, etc.)
-
Or reveal a hidden group inside the cell that shows the “Current cell’s item’s message” and other fields.
You can access any field from the clicked item using “Current cell’s thing:field_name.”
Summary: Use a click action in each cell to show a popup or hidden group, set its data as “Current cell’s thing”, then reference any field you need for display.
Thank you!!
@amjad when you say pop-up, do you mean opening a new view in modal view? What I’m assuming is that when I select an item, I can read a component of the selected item into a variable, meaning, select the item, and the body of hte announcement is read into a variable, and then that variable is displayed on the screen which comes up, in modal view.
yeah exactly. you can also use a hidden group instead of a modal if you want to keep everything on the same page—just toggle visibility based on whether something’s selected.
This topic was automatically closed after 70 days. New replies are no longer allowed.