Hey everyone,I’m using Bubble.io and have a reusable header with buttons (like “Create”) that I want to use to trigger actions inside various reusable popups (e.g., creating a new entry).
I’ve set up custom states in the header to track the action type and which popup is active, and I’ve created custom events inside the popups to handle these actions.
However, I’m struggling with how to efficiently trigger these custom events in the popup when a button is clicked in the header.
Does anyone have a simple, reliable method to make this work? I’m looking to avoid overly complex setups or using URL parameters. Any advice or suggestions on how to streamline this would be awesome!
I mean Tbh I’m not much familiar with pros and cons of url params when used to trigger a workflow or something I generally used them navigate between menus in the same page like for my applications it’s SPA so I used url params for switching between content in the same page. So even if a user clicks on browser back button he just goes back to previous content but I’m not sure how it works in this case when a user clicks on back button. But if you think url params will solve my problem and low chance of errors then please guide me on this I’m ready to use url params. Your advice is really appreciated
Sorry , there is no way . You need to have ‘connector button’ I call them , connect reusable 1 with reusable 2 , connector button lies outside of both reusables and used to trigger or change value of a state of any reusable . Or you will use listeners do when element a’s state 1 is x but I wouldnt reccomend it it will inflate the app
Yeah i know how to do it listeners but it will inflate the app which is true as it is actively working. Any workarounds are something what i want to achieve is i have mulyiple resuable popup and floating groups where user creates/edits/deletes. I clubbed create/edit/edit into one reusable popup i guess i will just create a normal popup for edit/create/deelte clubbing into one and use only resuable header buttons and place it in popups. Lets see if thats possible