"All" Radio Button

Question:
Why isn’t the defauly “All” radio button (connected to CMS) working?

Product:
Wix Studio

What are you trying to achieve:
One of my site’s pages has a Pro Gallery which is connected to a CMS dataset. Each item in my dataset has a title and a media gallery. In my page, I added a radio button input to allow users to filter the images by title. This works great, except for the fact that when connected to a dataset, a default radio button “All” is added. What’s funny is I do actually want an “All” button, but for some reason this default button doesn’t work. When “All” is selected, images are still filtered to one item. Why might this be? What can I do?

What have you already tried:
One option would be to delete the “All” button that Wix adds, and instead, create my own “All” item in the CMS dataset. However, I do not know how to delete the default “All” button. I do not know how to code yet. :frowning: I would be happy to try and learn some coding to fix this problem, unfortunately I would just need very detailed instructions at this time.

I deeply appreciate any help! Thank you in advance

If the ‘All-Button’ comes automatically by Wix, then i think you can’t do much about it.

Your options would/could be…

  1. Not using a DATASET at ALL and generate all your functionality in CUSTOM-MODE exactly like you want it and not like wix out of the box elements are offering you.
    But in this case this will be the long way --< since you would have to code everything on your own to get it to work → not really recommended for beginners → because very time-consuming.

  2. You could continuing to use Wix-out of the box solution and trying to hide the 'All-Button by code and generate a function only for this button by code (code-injection). But at the end you would again end-up to generate code

  3. You could also first take a closer look which options do provide wix inside the PROPERTY-PANEL for all of your used elements (including DATASET and RADIO-BUTTON).

  4. Maybe you also want first to check your database. Maybe you have an data-error inside your DB.

  5. And at least we still do not know, if you have used an ordinary RADIO-BUTTON or a RADIO-BUTTON-GROUP.

This would be the things you would have to check first and think about.

1 Like

thank you for your reply! I will look into these

What are the options for addressing the presence of the ‘All-Button’ automatically generated by Wix when using their elements, and what are the considerations for each option?
poppy playtime chapter 3