"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.

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

This is simply a defective programming element. “ALL” has never been a choice for radio buttons - they are designed to only allow ONE choice! Sure, you could design a push-button panel that allowed X out of Y buttons to be pushed/set simultaneously - that is the “checkbox” metaphor. Normally, with radio buttons, selection any choice other than the one selected REMOVES the initial choice and replaces it with the latest input. I can’t believe this has not been addressed in a year and a half.

A radio button is a graphical user interface (GUI) element that allows users to select exactly one option from a predefined set of mutually exclusive choices. When a user selects a new radio button, the previously selected button in the same group is automatically deselected. They are primarily used in forms and settings. (Google)

Radio Buttons vs. Checkboxes

  • Radio Buttons: Select one out of many.

  • Checkboxes: Select any number (zero, one, or multiple) of options. (Wikipedia)