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

RadioButton in codenameone chaning the checkmark or color style

I am facing problems changing the checkmark on the radiogroup, or color, I appreciate the help I tried the StyleBuilder, changed the font colors, but failed to change the side mark that shows the selected radiobutton sample thank you,
Jari
  • 121
  • 4
2
votes
1 answer

Android radio group

Im creating RadioGroup, inside that radio button. How can i get the selected values in radio button to store in array list? TableLayout ch = (TableLayout) findViewById(R.id.tablechild); TableRow row2 = new TableRow(Edittextsample.this); TextView m…
Felix
  • 33
  • 1
  • 6
2
votes
1 answer

Is the z-index incorrect for these radio toggles behind the Semantic-UI-React Loading component?

I'm working on a form that has Semantic-UI Radio toggles, and the loader and the toggle's appear to be loading in the wrong z-index. I checked the css and the toggle contains the following .ui.toggle.checkbox label:after { z-index: 2; } while…
2
votes
2 answers

CSS dont print unchecked/selected radio buttons or checkboxes

I have a form that I want a separate CSS file for printing. On the screen there are other radio buttons and checkboxes. But I want those unchecked radio buttons and checkboxes to hide when I print them. Is there a way to use jQuery to set classes on…
swg1cor14
  • 1,682
  • 6
  • 25
  • 46
2
votes
3 answers

Selecting single radio button, wpf

I need to put on my window 3 radio buttons and to make a user to chose only one button. I made a ListBox and set Selection mode = Single but i still can choose all of them , i need to wrap each item in something...i don't know what and how. Can…
N.D
  • 1,009
  • 5
  • 23
  • 39
2
votes
3 answers

javascript and this.value of radio button

I try to get the value of the checked radio button by javascript. But JS does not give me any value even the event is where the button is? Why? How can I get the…
user30424
  • 147
  • 1
  • 10
2
votes
1 answer

RadiobuttonList labels formatting

I have a radio button list that I need to add labels between some of the values. I know the following will not work, but it's the best example of what I want to do in .net.
FarFigNewton
  • 7,108
  • 13
  • 50
  • 77
2
votes
0 answers

How to show compact style input Choice set options(radio buttons) in single line?

I am using adaptive card version 1.2.6 for MS Teams bot integration. As per my UI Requirements, I need to display compact style choice set options in a single line. But adaptive card designers displaying horizontally. Is it possible to show options…
2
votes
1 answer

Rails 3, radiobutton group in fields_for?

I think this should be kinda trivial, but somehow I must be doing something wrong.. And the fact that I can't find any google results proving me any good, I might be missing some point. My subject almost says it all: How can I make a radiobutton…
Hoof
  • 1,738
  • 2
  • 17
  • 39
2
votes
1 answer

android design radio button

I want to design RadioGroup like this and I've done like this here is my xml code
user12790690
2
votes
2 answers

Using the required attribute with dynamically generating radio-buttons

The answers given to a similar question:How to use the "required" attribute with a "radio" input field don't seem to work in this case. I am adapting a multiple choice quiz provided via radio buttons.The quiz has radio buttons built into an external…
Meimei
  • 165
  • 6
2
votes
3 answers

How to reset all radio buttons except for the one with a checked attribute?

I am attempting to reset a form field by wiping all checked properties and then applying the checked property back to the one with a "checked = 'checked'"attribute. However, I'm not sure how to only select the element that passes my if statement, as…
Bubinga
  • 613
  • 12
  • 29
2
votes
1 answer

Grouping about 100 Radio Buttons

I'm trying to create a multiple-choice test with approximately 100 questions in it. In this example, I give you a group of radio buttons. I solved creating multiple radio buttons with this code. However, I want to group these selections. I found a…
Fatih Tüz
  • 133
  • 1
  • 12
2
votes
3 answers

Setting a var in localStorage from button radio and pass it to other pages

This discussion is the spin off of this post:passing-variables-between-pages, I have edited the question in order to provide More clarity on the scripts, please who will give any answers to use denomination used in this version. A.html
2
votes
2 answers

How to make a radio button that is inside a table look like a buttton using bootstrap?

I can't solve a problem - yet - about bootstrap but I hope someone can give me some advice to solve it :) I have a table where I display different options the user can choose from. I have use radio buttons to show the different options since I want…