Questions tagged [radio-group]

radio-group is used to create a multiple-exclusion scope for a set of radio buttons. Checking one radio button that belongs to a radio group unchecks any previously checked radio button within the same group.

1047 questions
9
votes
3 answers

AngularJS: Binding boolean value to radio button such that it updates model to false on uncheck event

In my AngularJS application, I am displaying contacts data in a grid. My typical contacts JSON looks like as below ... [ { type: "IM", value: "mavaze123", default: true }, { type: "IM", value: "mvaze2014", default: false }, { type: "IM",…
9
votes
3 answers

RadioButtons with TextView in RadioGroup

Is it possible to add TextView below RadioButton in RadioGroup in any other way than extending and creating my custom RadioButton?
Michal
  • 15,429
  • 10
  • 73
  • 104
8
votes
6 answers

extJS RadioGroup setValue() function

I have created RadioGroup using the code var radios = new Ext.form.RadioGroup({ columns : 2, items: [ {boxLabel: 'E-Mail', name: 'communication', inputValue: 1}, {boxLabel: 'Nagios', name: 'communication',…
Sapan
  • 83
  • 1
  • 1
  • 3
8
votes
2 answers

How can I change a label text without interfering with an input radio inside the label?

In my html template I've got a label with an input radio inside: I need to change the text of the label with jquery. I tried this: $('#myid').html('my new…
kiks73
  • 3,718
  • 3
  • 25
  • 52
8
votes
2 answers

Which radio button is selected in a TRadioGroup?

As you can see in my question history, I'm developing a eBook manager, that will be open-source and I will release it in about 10 days, but I have a TRadioGroup, as you can see: TRadioGroup Used On My Form…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
8
votes
1 answer

Grails RadioGroup, how to bind labels to radio name

I'm struggling arround with the g:radioGroup tag -- I want to create some radios and some labels correspondig to the radios:
john Smith
  • 17,409
  • 11
  • 76
  • 117
8
votes
1 answer

How can I create multiple radio button groups on a single form?

With VCL, we had a TRadioGroup class with an Items property you could modify at design time. With Firemonkey, we only have the TRadioButton class. From what I understand, if you add objects of type TRadioButton as children to other container…
ardnew
  • 2,028
  • 20
  • 29
7
votes
3 answers

RadioGroup extending RelativeLayout?

I'm trying to make a grid of radio buttons for my app, what I have learned is that this isn't possible using regular RadioGroup because it extends LinearLayout and if you try to arrange the RadioButtons using RelativeLayout INSIDE the RadioGroup the…
Kyle V.
  • 4,752
  • 9
  • 47
  • 81
7
votes
3 answers

SWT: set radio buttons programmatically

When I create a couple of radio buttons (new Button(parent, SWT.RADIO)) and set the selection programmatically using radioButton5.setSelection(true) the previously selected radio button also remains selected. Do I have to iterate over all other…
Mot
  • 28,248
  • 23
  • 84
  • 121
7
votes
1 answer

Android dynamic RadioGroup/RadioButtons as flat buttons

this is a similar issue to what is mentioned in a related post but I thought it was different enough to get its own question. Here it goes: I have been able to get the "radio circle" to disappear no problem when declaring the radio buttons in xml by…
aveyD
  • 525
  • 6
  • 12
7
votes
0 answers

Radio Group not getting Focus in Android

So I have a form that contains two EditText components and a RadioGroup. When I click on one of the EditText fields the keyboard pops-out and I can right and everything is great. UNTIL I click on one of the RadioButtons and it gets clicked with the…
Mohamed Sobhy
  • 385
  • 1
  • 5
  • 17
6
votes
3 answers

remove dynamicallly created radiobuttons from a radiogroup in Android

:) My RadioGroup's RadioButtons get dynamically created from an ArrayList (which resides in my main activity) full of links like so: ArrayList = { "hxxp://helloworld.com", "hxxp://helloworld2.net", ..., "hxxp://whatever.com" } then I have a new…
jeremy
  • 145
  • 1
  • 2
  • 6
6
votes
1 answer

RadioButton with Custom View Android

I'm trying to implement a radiobuttons with custom views like the below screenshot. The count of the radio button will be dynamic. I tried to create a Radiogroup and added the RadioButton to the RadioGroup using addView programatically. But it is…
Mahendran Sakkarai
  • 8,381
  • 6
  • 44
  • 66
6
votes
3 answers

Radio Button in one radio group in 2 horizontal line

i try to set 4 radio button in one Radio group in 2 lines, but problem is that when i take linear layout with horizontal orientation then radio group functionality not work . All Radio buttons select . At a time only one button should be select. …
Shivang Trivedi
  • 2,182
  • 1
  • 20
  • 26
6
votes
3 answers

how can i set RadioGroup unchecked by default in android?

I am doing an app to conduct simple quiz.I have given the answers are multiple choice using RadioGroup. So on loading each question how can I set RadioGroup unchecked by default ?
Mohammed mansoor
  • 743
  • 3
  • 11
  • 18
1 2
3
69 70