Hi everyone — losing my mind a bit so hope someone can help! I am trying to have two search functions for my site gallery – one to search by name, and one to search by tag. I have followed several YouTube tutorials which require either coding, databases or repeaters. I seemed to get bits working but not all of it.
I have the database set up, and the connectors in place but when I go to preview my site, the search function is greyed out with one of the names and can’t be changed, and the tags just stay as ‘option 1’ etc.
I’m sure it’s something to do with the coding which I just can’t seem to get right –– even when I copy and paste it from a tutorial.
I have a gallery which has many images which all link to pages
I then created a database with some (but not all) of the same images and titles, links etc
I then linked the database to the images
I then added a text input and connected that to the database.
I followed this (https://www. youtube .com/ watch?v=Hx7_8-lRsW0&ab_channel=Wix.com) tutorial and clicked ‘view properties’ and enabled the ‘OnPressKey’ function. I tried to copy and paste the code from here (https://www. wix .com /corvid/forum/tips-tutorials-examples/how-to-create-a-search-for-your-database) but it didn’t work
I then added a tags function from the input menu and connected that to the database to see if this would be easier to set up. (ideally, I would want both the name search and the tag selection)