I want to display the number of gallery items with a text box
The gallery is linked to a dynamic data set.
Is it possible?
Yes this should be possible with …
https://www.wix.com/velo/reference/$w/gallery/onitemclicked
+
https://www.wix.com/velo/reference/$w/gallery/currentindex
How can I connect this code with a text box?
Try out
let itemCount = $w("#myGallery").items.length;
$w("#itemCountTextBox").text = itemCount;
Thank you so much!
That helped me a lot