Questions tagged [radio-button]

Radio buttons are elements used in forms. They let a user select exactly one of a limited number of choices.

Radio buttons are a GUI element found in many types of forms, both on the web and in standalone applications, and they are used to let the user select one option out of a set of choices. It is often useful to provide some form of visual grouping around a collection of radio buttons so as to help the user see more clearly what they are picking between.

Where there is a binary choice, it can be better to use a instead. Some types of choices may be better suited to the use of a element or a element, though radio buttons have the advantage of allowing the user to see all the possible options (and often descriptions of them) at once, which enhances discoverability at a cost of occupying more screen space.

11983 questions
2
votes
1 answer

Django Size (Dropdown) and Color (Radio Buttons) with changing prices/images dependant of radio button data JQuery

I want to hide/show the colors (radio buttons) when i choose a different size (dropdown). Like this: Red - 16Gb, Blu and Red 32Gb. But instead of showing Red, Blue and Red, it should only show red when it is 16Gb and only show Blue and Red when it…
2
votes
1 answer

Radio button page in inno setup uninstaller

I've seen a lot of questions like this, but never this exactly, so I was wondering if this is even possible, and if not what is an alternative? I want to have a page with three options: Delete game, savegames, missions, players, etc. (basically…
Mako
  • 161
  • 2
  • 12
2
votes
4 answers

using radiobuttons in a gridview control

I have a gridview control in which the data is dispalyed using a stored procedure. the grid has three columns, first one contains radiobuttons. the general idea is that the user should be able to select only one radiobutton from (in my case) 5…
userstackoverflow
  • 251
  • 3
  • 10
  • 19
2
votes
0 answers

iText7: Setting radio button value is not working as expected

I have a PDF document created in InDesign with radio button group. Each choice has its own value. PdfFormField field = AcroForm.GetField(fieldName); field.SetValue(valueToSet); Setting the choice's value assigned in InDesign doesn't work. No choice…
Sugar
  • 125
  • 10
2
votes
1 answer

How do i default check a radio button in react?

I am trying to default check the first radio button which the following code helps me to do. When loaded the page the first radio button is checked but the problem i am facing is that it doesn't allow me to check the other buttons that also are…
Mero
  • 51
  • 6
2
votes
1 answer

How to add listener on alert dialog box with customised radio button in android

I am trying to add customised radio button in alert dialog box. Now I want to add listener on that. I have tried to add listener using Radio group but it shows null pointer exception. This is my code. Please how to add listener whereby I want to…
Astha Devra
  • 163
  • 1
  • 15
2
votes
5 answers

radio buttons won't check / uncheck

I have some radio buttons in my web page. when clicking the radio button it checks but when i click again it doesn't un-check. i tried to add a JS function onclick document.querySelectorAll('input[type="radio"]').forEach(x =>…
layla l00
  • 33
  • 1
  • 6
2
votes
3 answers

How can we reset a radio button after some other radio buttons in the same group have been selected

I have a list of values that are to be displayed as Radio buttons. Each radio button has a value with certain count that will be decreased if the radio button is selected. If radioButton1 is selected then the count becomes 1, if some other radio…
Learner.123
  • 157
  • 4
  • 12
2
votes
2 answers

How to rounded RadioButton in andriod?

I'm designing RadioButtons. Right now its look like I've Questions: I want to show it in circle how I'll perform this action? I want it look same by its width and height, right now it is in wrap_content. Here is my code
user12790690
2
votes
1 answer

Radio-button checked overriden by ngModel

When declaring a ngModel to a radio group it appears to override the default radio button selection assigned by [checked]="true" Units
dancingbush
  • 2,131
  • 5
  • 30
  • 66
2
votes
1 answer

Greasemonkey to change value of Radio buttons in a form?

I am writing a Greasemonkey/Tampermonkey script and I need to turn on radio buttons depending on the name and value of the radio control. This is how it looks:
McKracken
  • 680
  • 8
  • 17
2
votes
2 answers

PrimeNG radio button selecting multiple items

I'm creating multiple radio buttons dynamically using *ngFor, the problem is that it lets me select multiple items from the UI, my code is the following:

Tipo de pregunta

FlowMafia
  • 922
  • 2
  • 19
  • 37
2
votes
2 answers

Tkinter changing entry state based on radiobutton

I have four radio buttons. Underneath these four button is an Entry widget. I am trying to make this Entry widget only become available to type into when the last radio button is selected. The gui is in a class, as you can see in the code…
Lucy
  • 21
  • 5
2
votes
2 answers

How to make radio button checked/active depending on current state value

so I've got a header that cycles through 4 images every 5 seconds. The user can also cycle through these images themselves using 5 radio buttons. The styling for the active/checked radio button is applied when the user clicks it themselves, however,…
user14240209