2 Drop Down Boxes for Search and Repeater for Results

Good Morning All,

On my website i want to create a search function that you pick from 2 dropdown boxes ie Box 1 = Trade, Box 2 = Location, Hit the search button and the information that is pulled from my database shows as a list in a repeater i have created.

I have set up the drop down boxes and the repeaters but now i need to link the two, i did pay someone on fiverr to do this (I am not a website coder in fact everything on my site i have self taught myself using youtube) but since this lady created the code the website has changed quite dramatically and the code she gave no longer works and when i asked her to help again she wanted a lot more money so would now feel a lot more comfortable learning how to do this myself so if any changes need to be made in the future then i know what i’m doing.

Is there anywhere you guys know of that may help me find this information out or a template code? or if someone wants to take a look at my site for me i would be truly grateful.

Please be kind with your comments, like i explained im a complete amature and have zero to limited budget.

Thank you in advance

A gentle warning: What you want to do will be a bit challenging for a beginning coder. But, not impossible. Use the on-line documentation and resources to find out what and how, and we’re always here to help get you pointed in the right direction.

You might want to consider checking out the WixArena - it’s a hub where you can look for Wix Code (and other) experts for hire.

Feel free to post any questions here.

Have fun and good luck,

Yisrael

I still have the code but not sure why it isnt working, it seems to do everything it needs to apart from showing the results:

// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixData from ‘wix-data’;
$w.onReady( function () {
//TODO: write your page related code here…

});

export function button8_click(event, $w) {
let tradeValue = $w(“#dropdown3”).value;
let locationValue = $w(“#dropdown2”).value;
$w(‘#box1’).expand();
$w(“#dataset1”).setFilter( wixData.filter()
.eq(“location”, locationValue)
.eq(“title”, tradeValue)
)
.then( () => {
console.log(“Dataset is now filtered”);
} )
. catch ( (err) => {
console.log(err);
} );

}

export function vectorImage9_click(event, $w) {
$w(‘#box1’).collapse();
}

Is the repeater and its elements properly connected to the dataset? For guidance, see the article Displaying Dynamic Content in a Repeater .