I have a repeater page set up with a database showing a number of events.
On the top of the page I set up an image, title, and description text-fields.
I want to be able to change the image, title and description on top of te page upon clicking an item in the repeater. Can anyone please help?
I tried using this code, using 2 datasets from 1 databse, but this does not work
export function button7_click(event,$w){ let n n = $w("#dataset2").getCurrentItem() console.log(n) $w("#dataset3").setCurrentItemIndex(n) }
This is the page. I want the content on the top to change when the user clicks the corresponding button