Whole Cell Link in Repeating Groups in Bubble.io
In this Bubble tutorial video we show you quick trick for working with repeating groups in Bubble.io - that being how to make the whole cell clickable and run a workflow action.
Turn your entire cell into a clickable link: Master the art of efficient repeating group design in Bubble!
One workflow to rule them all: Learn how to create lean, powerful workflows that simplify your Bubble app development.
Unlock the secret to making your entire cell height clickable with this simple Bubble trick!
Creating a Clickable Link in a Repeating Group Cell
How can I turn everything in a cell in a repeating group in Bubble into a clickable link? For example, I've got my repeating group here of contacts and I want to make it so that if Bruce has clicked or USA has clicked or if anywhere in this box is clicked, I go through to a page all about Bruce. If I look in my Bubble editor, you can see I've got my two text elements here and I think the easy mistake to make would be to think, "Oh, I've got to add a workflow to each of them." But that isn't lean development. That's going to cause you a whole load of headaches later on, increases the chance of you neglecting or forgetting to update a particular part of your app. We want to create one workflow to do one thing if that's all we need.
Grouping Elements in a Repeating Group
So all you do is I'm holding shift and I'm going to click on all of the elements in the row, right-click and say "group in row" and then I'm going to set the layout of my repeating group. Notice I've... not my repeating group. In my repeating group, I've now got a group. This is basically the template for every cell in my repeating group. It is my first cell and it is the template for all of them. And so I'm going to say here "with 100%" and then I'll go to workflow.
Adding a Workflow to the Group
In actual fact on the group, I'll say "add workflow" and we'll say "go to page" and I have a page set up for this. "contact" "current cells contact" and we'll preview that. By now putting my mouse over, you can see how much of it is turned to a link or is at least clickable. And so yeah, "Bruce USA is clickable but not the whole height of the cell." How do I fix that?
Making the Entire Cell Clickable
Well, let's go back into design and all I need to do is tell my group that is containing everything in my repeating group to set a fixed height of 100%. We'll go back to my demo, refresh it and now look at my mouse. The whole height of the cell is clickable.
Conclusion
If you're learning Bubble and this video has been useful, please like and subscribe and we've got hundreds of Bubble tutorial videos more than you can find even on our YouTube channel exclusive to our members at planetnocode.com
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
3 ways we support solopreneurs
Our team is here to help, with a combined 30+ years working for internet startips.
Learn Bubble
Explore our library of 300+ Bubble and no code tutorial videos. Watched by over 800k no coders on YouTube.
Bubble Coaching
Troubleshoot your Bubble app and build new no code features with our in house Bubble expert.
Mastery
Ready to take your SaaS idea to the next level? Join our exclusive Mastery program for personalised content & mentoring.