Missing Semicolon error

Question:
Using a tutorial by “Wix Epic Solutions” on Youtube on how to make a search bar feature through CMS, but it’s saying the code is missing a semi colon and I don’t know where to put it. Also, the set Filter and getitems codes are highlighted and I don’t know what’s wrong with it. See below for pictures. (I am not a coder, so I don’t know what to do!)

Product:
Wix Editor

What are you trying to achieve:
Making a Search Bar Feature using Datasets and CMS.

What have you already tried:
I did everything he says to do in the tutorial, but this weird error popped up and he doesn’t mention it in the video, the code just works for him. But I know Wix has been updated since he made the video.

Additional information:

Hi, user3048 !!

From the error message, it seems that you might be able to resolve the issue by modifying it to something like ("first name").find().

1 Like