Relatively new at programming. I started this summer trying to get a drop down menu to work using the repeater on Wixs but I am still stuck. Can someone offer me some instruction?
I have created the following code:
import wixData from 'wix-data'; $w.onReady(function () { //TODO: write your page related code here... }); export function dropdown1_change(event) { let searchBusinessProfessional = $w("#dropdown1").value; $w("#dataset1").setFilter(wixData.filter().contains("businessProfessional", searchBusinessProfessional)); } export function dropdown2_change(event) { let filterStore = $w("#dropdown2").value; $w("#dataset1").onReady( () => { let filter = wixData.filter(); if (filterStore === "Georgia") { filter = filter.eq("georgia", true); } if (filterStore === "New York") { filter = filter.eq("newYork", true); } if (filterStore === "Florida") { filter = filter.eq("florida", true); } if (filterStore === "South Carolina") { filter = filter.eq("southCarolina", true); } $w("#dataset1").setFilter(filter) .then(() => { $w("#repeater1").expand(); }) } ) $w("#repeater1").expand();


There are many example tutorials out there that you can look at.
https://www.wix.com/corvid/example/cascading-form
https://codequeen.wixsite.com/dropdown
https://www.youtube.com/watch?v=EhXed0u6wh0
https://www.vorbly.com/Vorbly-Code/WIX-CUSTOMIZED-SEARCH-BAR-USING-REPEATERS
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-MULTIPLE-FILTERS-WITH-RESET
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-MULTIPLE-CHECKBOX-FILTERS
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-WITH-MULTIPLE-FILTERS
Thank you. Because I am not a programmer. Some of the help videos tend to be a little over my skillset. I have gotten this far by combining those type of videos with straight suggestions on changes from this forum.
FYI.... I completely built my database based on those type of videos. I am looking for actual suggestions of coding changes based on what I shared.
I am looking for feedback on actual changes to the code as I have it setup so that it will work. Please advise.
Thanks
Leroy
Leroy, have a look at this previous post here, it should help you too.
https://www.wix.com/corvid/forum/community-discussion/help-with-multiple-dropdown-s-to-filter-a-dataset-and-populate-a-repeater-with-results-using-wix-code