I am testing what can be done with Wix before fully committing to how I should set up my website.
I have set up a repeater that is linked to a dataset. Within the repeater are links to documents. However the number of links varies for each entry in the database. I would like to hide the link boxes that do not contain links, and I believe this can be done with code, but I have no idea where to start. In the screen show below you can see in the first section Ladders there are 3 documents referenced, but Asbestos only has two, so I would like to hide the 'empty' link box.
My repeater is #repeater1
Database is: ToolBoxTalks
Dataset is: dataset2
they are linked to the columns in the database
Link 1, Doc 1
Link 2, Doc 2
Any help gratefully received. I have manged to get the search option to work by copying code others have very kindly posted on YouTube but I think my new request is a little too specific.