Open a 2nd repeater from 1st repeater

Hello, I have a repeater which features Restaurants, then inside it I have a button “See Menu”.
I want this button that if clicked will open another repeater connected to another database showing the menu of the prev restaurant in the same page.
Basically is easy:

  • database 1 is for restaurants.
  • database 2 is for menus for restaurants

Whatat would be the best approach to have this done?
I thought about adding a reference field to connect both databases, but I’m not very practical at it.

Thank you

With reference fields, there are already many pages that you can read about them, just start from here.
https://support.wix.com/en/article/about-reference-fields-in-database-collections

As for inputs in a repeater, then see this example here which you can open up in your own Wix Editor and after enabling Corvid, you will be able to see the code used for each of hte two pages.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-input-repeaters