I have two dropdowns on my site that are filters for a repeater. The first dropdown is for State and the second is for City. Let’s say in State I select Texas. If I click City to see the available selections, I see all the cities for all the states that are in the repeater collection not just those cities related to Texas. This would seem to be pretty basic functionality. How do I fix this so that the two work together. In other words, if I select a State, I only see the cities related to that State.
Hey James,
This can be done with by using some custom code. Check this out:
I have 2 dynamic drop downs, I need them to filter data based on the drop down in front of it. Any suggestions on how to do this?
Hi guys I’m stucked with a piece of code, we have a client who requires to show dropdowns on a custom dynamic product page, we made it using static code time ago, but the new requirements is that we need to generate dropdowns dinamically, because the client states that they have about 40 different options, so hardcoding 40 differents options is not feasible for us, could anyone give us a light on this?
Kind Regards,
wixData . query ( “Stores/Products” )
. eq ( ‘_id’ , session . getItem ( ‘p…
Hello, I am creating a web app for tracking nutritional info.
In this app, it is necessary that a user logs their food on this page, which is tied to a member-only collection (so each user has their own unique food database)
[image]
A user might be okay with doing this once, but it is imperative that after they have done this, they can easily select an item they have previously logged from a dropdown menu.
I have implemented this.
[image]
Unfortunately, only the title field is actually a…
Hello,
For several hours I have been trying to display the practitioners in random order.
For example if I have 10 practitioners in the region of Occitania, I want that at each submission I do not have the same order and the same when I choose the department or when it displays all practitioners and I would also like to be able to change region or department without resetting with the reset button.
Thank you in advance for your help.
Here is the modified code:
import wixData from 'wix-data'…
Hey! I am quite a rookie in coding; I understand the basics but I am far from good at this.
I have set up a page where I want people with specific member role to be able to update data in a data collection:
I have the following dataset:
[image]
I have a dropdown that is connected to the data collection; users can choose from any Committee (in ‘title’).
The Goal: I want the chosen item in the dropdown (let’s say it’s “Legal Committee”) to change to “active” in the ‘active’ field. However, …
And this one is surely the most explained one about how to generate automatic cascading dropdowns…
Morning Ninja. I’m wondering if the reason i can not get the code to work is because i have not paid fully yet for a site?. I’ve tried a few times to cut and paste the code as suggested and get no result. At this time, all of i have done is design/layout and have not done any payment to purchase a domain or anything. I have messed around a bit and got closer to what i’m aiming for by just using the database and link to the database.
[image]
[image]
[image]
[image]
It is at least pop…