radio-button

Radio button click doesn't register inside ListView

Hi! I have a radiobutton group in Android that I populate with data from a database. To get the data to show next to each radiobutton I have used the ListAdapter: String[] columns = new String[] {DataHelper.KEY_WORD, DataHelper.KEY_ALT1 , DataHelper.KEY_ALT2 ,DataHelper.KEY_ALT3 ,DataHelper.KEY_ALT4 }; // the XML defined vi...

Java Radio Button anomaly

I am writing a Java application, and I have four radio buttons, call them rb1, rb2, rb3, and rb4. I've added two of them to one radiobutton group, and the other two to a second radio buttongroup. Then I added all four of them to a panel. Distinct action listeners are defined for all four buttons. However, when I click on the first but...

How can I validate a radiobuttongroup in Android?

Hi! I have a radiobuttongroup in a game app in Android. Before the user can go on to the actual game he has to choose a level, which are three radiobuttons. Now, if the user clicks "play" the app crashes. How can I use a validation to see if a button was chosen? I have an edittext also, which I simply use a: if ((editText.getText().toSt...

[SOLVED] Jquery live does not seem to work in nested calls

Hi, I am encountering a problem of jquery live function not consistently working for me (or that what I think). I have the same html form which is used for both adding new comment and editing an existing one; this form is propagated using a php code at the server side through a GET call. The two forms are displayed in two different ta...

How to show HTML in radioButton in flex3/4

I want to show underline and strikethrough text(asdb etc) in a radiobutton control, there is no htmlText property to make use of. Is there any way to do so? ...

Help! I need a Spinner, Radio Group with Radio buttons, EditText, and setText

Ok, I'm not great at explaining this as I'm new to Android so work with me. I have tried everything I can find and I dont know how to make everything work together. I have a Spinner to select an age group, a Radio group with Radio buttons to allow you to select Gender (male or female), I have an EditText that I will allow for numerical i...

checking at least one radio button is selected from each group (with jquery)

I'm dynamically pulling and displaying radio button quesitons on a form (separated into different sections by jquery tabs). So there are lots of 2, 3, 4, 5 etc radio buttons together, which have the same 'name' but different ids. When you hit next between the sections, I want to check that at least one radio button has been selected fo...

Best way to add "uncheck radiobuttons" - functionality in Rails ?

Scenario: I have a dropdown-list with radiobuttons, that are not required to be selected to submit the form, and after I've chosen an option, from there on it's impossible to deselect it. I want it to be possible somehow. Thoughts for solutions: 1) Implement some feature that enables you to deselect the radiobutton, much like a checkbox...

Android RadioButton not able to set using setChecked method

If I set a radio button to be selected on the first time, it works fine. But if I unselect it by calling ((RadioButton) findViewById(R.id.ID)).setChecked(false); then, later even if I try to make it selected by calling setChecked(true) will not work unless the user select it from the screen. Have any one come across this? or is it...

Silverlight multiple views

Hello, Sorry for dummie question, I'm quite new in silverlight. I want to dinamically change the layout in my app: for example, I've got two radiobuttons: male and female, and I want to show additional controls depending on the gender selected. For example, if user checks male option, combobox1 should be shown, and if user checks anoth...

Flex: Validator on RadioButtonGroup

I have a Validator on a RadioButtonGroup of 2 Radios. There's a checkbox above the RadioButtonGroup whereby if checkbox.Selected, then the Radios are enabled. So the Validator is required if the checkbox.Selected. So far so good. The problem is once a radio gets selected, the RadioButtonGroup selectedValue gets set. When I uncheck th...